Searched refs:url2 (Results 1 - 25 of 95) sorted by relevance

1234

/external/chromium_org/components/power/
H A Dorigin_power_map_unittest.cc33 GURL url2("http://www.example.com");
34 origin_power_map.AddPowerForOrigin(url2, 30);
36 EXPECT_EQ(75, origin_power_map.GetPowerForOrigin(url2));
37 origin_power_map.AddPowerForOrigin(url2, 10);
39 EXPECT_EQ(80, origin_power_map.GetPowerForOrigin(url2));
44 EXPECT_EQ(40, origin_power_map.GetPowerForOrigin(url2));
51 GURL url2("http://www.example.com");
53 origin_power_map.AddPowerForOrigin(url2, 40);
57 EXPECT_EQ(80, origin_map.find(url2)->second);
/external/chromium_org/components/password_manager/core/browser/
H A Dpsl_matching_helper_unittest.cc18 const char* url2; member in struct:password_manager::__anon6687::TestPair
49 form2.signon_realm = pairs[i].url2;
53 << ", second URL = " << pairs[i].url2;
H A Dpsl_matching_helper.cc25 const std::string& url2) {
27 GURL gurl2(url2);
24 IsPublicSuffixDomainMatch(const std::string& url1, const std::string& url2) argument
H A Dpsl_matching_helper.h46 const std::string& url2);
/external/chromium_org/components/history/core/browser/
H A Dhistory_types_unittest.cc40 GURL url2(kURL2);
43 URLResult result3(url2, base::Time::Now());
57 GURL url2(kURL2);
70 matches = results.MatchesForURL(url2, &match_count);
82 matches = results.MatchesForURL(url2, &match_count);
90 EXPECT_FALSE(results.MatchesForURL(url2, NULL));
96 GURL url2(kURL2);
108 const size_t* matches = results.MatchesForURL(url2, &match_count);
113 results.DeleteURL(url2);
115 EXPECT_FALSE(results.MatchesForURL(url2, NUL
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dopened_by_dom_browsertest.cc91 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
93 NavigateToURL(shell(), url2); local
106 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
110 Shell* popup = OpenWindowFromJavaScript(shell(), url2);
124 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
128 url2 = url2.ReplaceComponents(replace_host);
135 Shell* popup = OpenWindowFromJavaScript(shell(), url2);
H A Dweb_contents_impl_unittest.cc492 const GURL url2("http://www.yahoo.com");
494 url2, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
497 EXPECT_EQ(url2, contents()->GetVisibleURL());
510 pending_rfh, 1, url2, ui::PAGE_TRANSITION_TYPED);
521 EXPECT_EQ(url2, contents()->GetLastCommittedURL());
522 EXPECT_EQ(url2, contents()->GetVisibleURL());
544 contents()->TestDidNavigate(goback_rfh, 1, url2, ui::PAGE_TRANSITION_TYPED);
583 const GURL url2("http://www.yahoo.com");
585 url2, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
593 contents()->TestDidNavigate(new_rfh, 1, url2, u
[all...]
/external/chromium_org/chrome/browser/history/
H A Durl_utils.h31 // Returns whether |url1| and |url2| have the same scheme, host, and port.
32 bool HaveSameSchemeHostAndPort(const GURL&url1, const GURL& url2);
H A Durl_utils.cc47 bool HaveSameSchemeHostAndPort(const GURL&url1, const GURL& url2) { argument
48 return url1.scheme() == url2.scheme() && url1.host() == url2.host() &&
49 url1.port() == url2.port();
H A Dhistory_browsertest.cc336 GURL url2 = ui_test_utils::GetTestUrl( local
345 ui_test_utils::NavigateToURL(browser2, url2);
357 ASSERT_EQ(url2, urls[2]);
391 GURL url2 = ui_test_utils::GetTestUrl( local
395 ui_test_utils::NavigateToURL(browser(), url2); local
399 ASSERT_EQ(url2, urls[0]);
406 GURL url2 = ui_test_utils::GetTestUrl( local
411 browser(), url2, NEW_BACKGROUND_TAB, local
416 ASSERT_EQ(url2, urls[0]);
427 ASSERT_EQ(url2, url
433 GURL url2 = ui_test_utils::GetTestUrl( local
437 ui_test_utils::NavigateToURL(browser(), url2); local
[all...]
H A Dtop_sites_impl_unittest.cc564 GURL url2("http://images.google.com/");
568 AppendMostVisitedURL(&list, url2);
591 // Setting the thumbnail for url2 should succeed, lower scores shouldn't
593 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, medium_score));
594 EXPECT_FALSE(top_sites()->SetPageThumbnail(url2, thumbnail, low_score));
595 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, high_score));
644 MostVisitedURL url2; local
645 url2.url = GURL("http://gmail.com");
646 url2.redirects.push_back(url2
737 MostVisitedURL url2; local
862 MostVisitedURL url2; local
[all...]
/external/chromium_org/chrome/tools/
H A Dwebforms_aggregator_tests.py19 self.url2 = 'http://www.macys.com'
23 'URLs to crawl:\n%s\n%s\n' % (self.url1, self.url2))
41 c = webforms_aggregator.Crawler(self.url2)
43 c.Run(), msg='Crawler could not find the reg page of "%s"' % self.url2)
/external/chromium_org/url/
H A Dgurl_unittest.cc119 GURL url2(url);
120 EXPECT_TRUE(url2.is_valid());
122 EXPECT_EQ("http://user:pass@google.com:99/foo;bar?q=a#ref", url2.spec());
123 EXPECT_EQ("http", url2.scheme());
124 EXPECT_EQ("user", url2.username());
125 EXPECT_EQ("pass", url2.password());
126 EXPECT_EQ("google.com", url2.host());
127 EXPECT_EQ("99", url2.port());
128 EXPECT_EQ(99, url2.IntPort());
129 EXPECT_EQ("/foo;bar", url2
152 GURL url2; local
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCookieManagerTest.java36 String url2 = "http://www.hotbot.com";
38 cookieManager.setCookie(url2, value2);
41 assertThat(cookieManager.getCookie(url2), is(value2));
/external/chromium_org/content/browser/
H A Dcross_site_transfer_browsertest.cc273 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
275 url2 = url2.ReplaceComponents(replace_host);
276 // Used to make sure the request for url2 succeeds, and there was only one of
278 tracking_delegate().SetTrackedURL(url2);
279 NavigateToURLContentInitiated(shell(), url2, true, true); local
281 // There should be one history entry. url2 should have replaced url1.
285 EXPECT_EQ(url2, controller.GetEntryAtIndex(0)->GetURL());
300 // There should be two history entries. url2 should have replaced url1. url2
334 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
335 NavigateToURLContentInitiated(shell(), url2, true, true); local
441 GURL url2 = test_server()->GetURL("files/site_isolation/blank.html?2"); local
450 NavigateToURLContentInitiated(shell(), url2, false, false); local
[all...]
H A Dresolve_proxy_msg_helper_unittest.cc107 GURL url2("http://www.google2.com/");
133 helper_->OnResolveProxy(url2, msg2);
136 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url());
161 GURL url2("http://www.google2.com/");
176 helper_->OnResolveProxy(url2, msg2);
193 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url());
218 GURL url2("http://www.google2.com/");
234 helper_->OnResolveProxy(url2, msg2);
/external/chromium_org/content/browser/streams/
H A Dstream_unittest.cc212 GURL url2("blob://stream2");
213 scoped_refptr<Stream> stream2 = registry_->GetStream(url2);
224 GURL url2("blob://stream2");
225 ASSERT_TRUE(registry_->CloneStream(url2, url1));
226 scoped_refptr<Stream> stream2 = registry_->GetStream(url2);
237 GURL url2("blob://stream2");
239 ASSERT_FALSE(registry_->CloneStream(url2, url3));
240 scoped_refptr<Stream> stream2 = registry_->GetStream(url2);
264 GURL url2("blob://stream2");
266 new Stream(registry_.get(), &writer2, url2));
[all...]
/external/chromium_org/chrome/browser/ui/tabs/
H A Dpinned_tab_codec_unittest.cc36 GURL url2("http://www.google.com/2");
37 AddTab(browser(), url2); local
39 // AddTab inserts at index 0, so order after this is url1, url2.
/external/chromium_org/ui/base/webui/
H A Dweb_ui_util_unittest.cc20 GURL url2("http://some/random/username/and/more");
21 webui::ParsePathAndScale(url2, &path, &factor);
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl_unittest.cc355 const GURL url2("http://foo2");
403 url2, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
422 contents()->GetPendingMainFrame()->SendNavigate(1, url2);
458 const GURL url2("http://foo2");
469 url2, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
474 main_test_rfh()->SendNavigate(1, url2);
675 const GURL url2("http://foo2");
689 url2, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
1081 const GURL url2("http://foo2");
1109 url2, Referre
2827 navigator->DidStartProvisionalLoad(main_test_rfh(), url2, false); local
2848 navigator->DidStartProvisionalLoad(main_test_rfh(), url2, false); local
[all...]
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
H A Dframe_navigation_state_unittest.cc29 const GURL url2("http://mail.google.com/");
44 navigation_state_.TrackFrame(sub_frame, url2, false, false);
51 EXPECT_EQ(url2, navigation_state_.GetUrl(sub_frame));
145 const GURL url2("http://mail.google.com/");
160 navigation_state_.TrackFrame(sub_frame, url2, false, false);
167 EXPECT_EQ(url2, navigation_state_.GetUrl(sub_frame));
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DTransitionTest.java181 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null);
182 ContentShellActivity activity = launchContentShellWithUrl(url2);
233 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null);
234 ContentShellActivity activity = launchContentShellWithUrl(url2);
275 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null);
276 ContentShellActivity activity = launchContentShellWithUrl(url2);
/external/chromium_org/chrome/browser/
H A Dbrowser_commands_unittest.cc63 GURL url2("http://foo/2");
69 NavigateAndCommitActiveTab(url2);
96 EXPECT_EQ(url2, controller.GetEntryAtIndex(1)->GetURL());
104 GURL url2("http://foo/2");
111 url2, content::Referrer(), ui::PAGE_TRANSITION_LINK, std::string());
161 GURL url2("http://foo/2");
165 NavigateAndCommitActiveTab(url2);
176 EXPECT_EQ(url2, zeroth->GetLastCommittedURL());
207 EXPECT_EQ(url2, second->GetVisibleURL());
228 ASSERT_EQ(url2,
[all...]
/external/chromium_org/chrome/browser/net/
H A Durl_info_unittest.cc30 GURL url1("http://domain1.com:80"), url2("https://domain2.com:443");
35 info_practice.SetUrl(url2);
/external/chromium_org/chrome/test/base/
H A Dtracing_browsertest.cc91 GURL url2("chrome://credits/");
99 ui_test_utils::NavigateToURLWithDisposition(browser(), url2, local

Completed in 549 milliseconds

1234