/external/chromium/chrome/browser/history/ |
history_backend_unittest.cc | 96 // |url1| is the source URL and |url2| is the destination. 98 // navigation entry for |url2| has replaced that for |url1|. The possibly 99 // updated transition code of the visit records for |url1| and |url2| is 101 void AddClientRedirect(const GURL& url1, const GURL& url2, bool did_replace, 105 if (url1.is_valid()) 106 redirects.push_back(url1); 110 new HistoryAddPageArgs(url2, base::Time(), dummy_scope, 0, url1, 115 *transition1 = getTransition(url1); 698 GURL url1("http://www.cnn.com"); 713 backend_->AddVisits(url1, visits1, history::SOURCE_IE_IMPORTED) [all...] |
top_sites_unittest.cc | 552 MostVisitedURL url1; local 553 url1.url = GURL("http://asdf.com"); 554 url1.redirects.push_back(url1.url); 555 url_list.push_back(url1); 570 EXPECT_TRUE(top_sites()->SetPageThumbnail(url1.url, thumbnail, score)); 571 EXPECT_TRUE(top_sites()->GetPageThumbnail(url1.url, &result)); 1126 MostVisitedURL url, url1; local 1212 MostVisitedURL url, url1; local [all...] |
history_unittest.cc | 675 const GURL url1("http://www.google.com/url1/"); 686 history->AddPage(url1, scope, 0, GURL(), 696 EXPECT_EQ(url1, most_visited_urls_[1].url); 709 EXPECT_EQ(url1, most_visited_urls_[1].url); 724 EXPECT_EQ(url1, most_visited_urls_[2].url); 726 // Revisit url1, making it the top URL. 727 history->AddPage(url1, scope, 0, GURL(), 736 EXPECT_EQ(url1, most_visited_urls_[0].url); 755 EXPECT_EQ(url1, most_visited_urls_[0].url) [all...] |
/external/chromium_org/chrome/browser/history/ |
history_browsertest.cc | 335 GURL url1 = GetTestUrl(); local 343 ui_test_utils::NavigateToURL(browser(), url1); local 358 ASSERT_EQ(url1, urls[3]); 390 GURL url1 = GetTestUrl(); local 394 ui_test_utils::NavigateToURL(browser(), url1); local 400 ASSERT_EQ(url1, urls[1]); 405 GURL url1 = GetTestUrl(); local 409 ui_test_utils::NavigateToURL(browser(), url1); local 417 ASSERT_EQ(url1, urls[1]); 426 ASSERT_EQ(url1, urls[0]) 432 GURL url1 = GetTestUrl(); local 436 ui_test_utils::NavigateToURL(browser(), url1); local [all...] |
url_database_unittest.cc | 72 const GURL url1("http://www.google.com/"); 73 URLRow url_info1(url1); 92 EXPECT_TRUE(GetRowForURL(url1, &info)); 120 // EXPECT_TRUE(db.GetURLInfo(url1, NULL) == NULL); 224 const GURL url1("http://www.google.com/"); 225 URLRow url_info1(url1); 264 ASSERT_EQ(url1, icon_mapping.page_url);
|
history_backend_unittest.cc | 189 // |url1| is the source URL and |url2| is the destination. 191 // navigation entry for |url2| has replaced that for |url1|. The possibly 192 // updated transition code of the visit records for |url1| and |url2| is 195 void AddClientRedirect(const GURL& url1, const GURL& url2, bool did_replace, 200 if (url1.is_valid()) 201 redirects.push_back(url1); 205 url2, time, dummy_scope, 0, url1, 210 *transition1 = getTransition(url1); [all...] |
top_sites_impl_unittest.cc | 570 MostVisitedURL url1; local 571 url1.url = GURL("http://asdf.com"); 572 url1.redirects.push_back(url1.url); 573 url_list.push_back(url1); 588 EXPECT_TRUE(top_sites()->SetPageThumbnail(url1.url, thumbnail, score)); 589 EXPECT_TRUE(top_sites()->GetPageThumbnail(url1.url, &result)); 1091 MostVisitedURL url, url1; local [all...] |
top_sites_likely_impl_unittest.cc | 571 MostVisitedURL url1; local 572 url1.url = GURL("http://asdf.com"); 573 url1.redirects.push_back(url1.url); 574 url_list.push_back(url1); 589 EXPECT_TRUE(top_sites()->SetPageThumbnail(url1.url, thumbnail, score)); 590 EXPECT_TRUE(top_sites()->GetPageThumbnail(url1.url, &result)); 1092 MostVisitedURL url, url1; local [all...] |
/external/chromium_org/content/browser/ |
site_instance_impl.cc | 252 GURL url1 = SiteInstanceImpl::GetEffectiveURL(browser_context, real_url1); local 263 if (IsURLSameAsAnySiteInstance(url1) || IsURLSameAsAnySiteInstance(url2)) 267 if (!url1.is_valid() || !url2.is_valid()) 271 if (url1.scheme() != url2.scheme()) 275 url1,
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
page_set_archive_info_unittest.py | 18 url1 = 'http://www.foo.com/' variable 30 """ % (recording1, url1, url2, recording2, url3)) 31 page1 = MockPage(url1) 122 }""" % url1)
|
/external/chromium_org/chrome/test/functional/ |
prefs.py | 38 url1 = 'http://www.google.com/' 40 self.NavigateToURL(url1) 50 self.assertEqual(url1, self.GetActiveTabURL().spec()) 74 url1 = self.GetFileURLForPath(os.path.join(self.DataDir(), 'title1.html')) 78 self.SetPrefs(pyauto.kURLsToRestoreOnStartup, [url1, url2]) 84 self.assertEqual(url1, self.GetActiveTabURL().spec())
|
/external/chromium_org/chrome/browser/net/ |
url_info_unittest.cc | 30 GURL url1("http://domain1.com:80"), url2("https://domain2.com:443"); 43 info.SetUrl(url1);
|
/external/chromium_org/chrome/browser/notifications/sync_notifier/ |
chrome_notifier_delegate_browsertest.cc | 133 GURL url1(kButtonOneUrl); 135 ASSERT_EQ(url1, tab->GetController().GetActiveEntry()->GetVirtualURL());
|
/external/chromium_org/chrome/test/base/ |
tracing_browsertest.cc | 89 GURL url1("chrome://tracing/"); 95 ui_test_utils::NavigateToURLWithDisposition(browser(), url1, local
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_impl_unittest.cc | [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewClientTest.java | 143 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 145 mOnUiThread.loadUrlAndWaitForCompletion(url1); 198 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 199 mOnUiThread.loadUrlAndWaitForCompletion(url1);
|
/external/chromium_org/webkit/browser/fileapi/ |
isolated_file_util_unittest.cc | 158 void VerifyFilesHaveSameContent(const FileSystemURL& url1, 160 // Get the file info and the platform path for url1. 164 file_system_context(), url1, &info1)); 168 file_system_context(), url1, &platform_path1)); 231 FileSystemURL url1 = GetOtherURL(file_system_context(), local 235 EXPECT_EQ(IsDirectoryEmpty(file_system_context(), url1), 241 VerifyFilesHaveSameContent(url1, url2);
|
/external/chromium_org/chrome/browser/history/android/ |
bookmark_model_sql_handler_unittest.cc | 211 GURL url1 = GURL("http://bookmark.com"); local 213 row.set_url(url1); 243 id_row.url = url1;
|
/external/chromium_org/chrome/browser/sessions/ |
session_restore_browsertest.cc | 308 GURL url1(ui_test_utils::GetTestUrl( 319 ui_test_utils::NavigateToURL(browser(), url1); local 464 GURL url1, GURL url2) { 467 EXPECT_EQ(url1, controller.GetEntryAtIndex(0)->GetURL()); 476 GURL url1("http://google.com"); 479 SerializedNavigationEntryTestHelper::CreateNavigation(url1.spec(), "one"); 512 VerifyNavigationEntries(web_contents->GetController(), url1, url2); 531 VerifyNavigationEntries(web_contents->GetController(), url1, url2); 552 VerifyNavigationEntries(web_contents->GetController(), url1, url2); 561 GURL url1("http://google.com") [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_model.cc | 871 static bool TemplateURLsHaveSamePrefs(const TemplateURL* url1, 873 if (url1 == url2) 875 return NULL != url1 && 877 url1->short_name() == url2->short_name() && 878 url1->keyword() == url2->keyword() && 879 TemplateURLRef::SameUrlRefs(url1->url(), url2->url()) & [all...] |
/external/chromium/chrome/browser/sessions/ |
session_restore_browsertest.cc | 111 GURL url1(ui_test_utils::GetTestUrl( 122 ui_test_utils::NavigateToURL(browser(), url1); local
|
/external/chromium/net/base/ |
registry_controlled_domain_unittest.cc | 74 bool CompareDomains(const std::string& url1, const std::string& url2) { 75 GURL g1 = GURL(url1);
|
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder_unittest.cc | 113 void ValidateEncodeSame(const string& url1, const string& url2) { 114 string filename1 = UrlToFilenameEncoder::Encode(url1, "", false);
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
recent_tabs_sub_menu_model_unittest.cc | 104 GURL url1("http://foo/1"); 105 AddTab(browser(), url1); local
|
/external/chromium_org/content/browser/renderer_host/ |
render_view_host_unittest.cc | 80 const GURL url1("http://foo1"); 95 NavigateAndCommit(url1);
|