/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
ClearHistoryTest.java | 19 private static final String[] URLS = new String[3]; 21 for (int i = 0; i < URLS.length; i++) { 22 URLS[i] = UrlUtils.encodeHtmlDataUri( 43 loadUrlSync(awContents, onPageFinishedHelper, URLS[i]);
|
/cts/tests/tests/net/src/android/net/cts/ |
DnsTest.java | 92 private static final String[] URLS = { "www.google.com", "ipv6.google.com", "www.yahoo.com", 159 private static final int LOOKUP_COUNT_GOAL = URLS.length; 164 for (int numberOfUrls = URLS.length; numberOfUrls > 0; numberOfUrls--) { 171 InetAddress addr = InetAddress.getByName(URLS[urlIndex]); 173 Log.e(TAG, "failed first lookup of " + URLS[urlIndex]); 176 InetAddress addr = InetAddress.getByName(URLS[urlIndex]); 179 Log.e(TAG, "failed SECOND lookup of " + URLS[urlIndex]); 194 for (String url : URLS) {
|
/external/chromium_org/chrome/browser/prefs/ |
session_startup_pref.h | 32 // Indicates the user wants to restore a specific set of URLs. The URLs 33 // are contained in urls. 34 URLS, 71 // Whether the startup type and URLs are managed via policy. 88 // The URLs to restore. Only used if type == URLS. 89 std::vector<GURL> urls; member in struct:SessionStartupPref
|
session_startup_pref_unittest.cc | 58 EXPECT_EQ(2u, result.urls.size()); 59 EXPECT_EQ("http://google.com/", result.urls[0].spec()); 60 EXPECT_EQ("http://chromium.org/", result.urls[1].spec()); 77 EXPECT_EQ(3u, result.urls.size()); 80 SessionStartupPref(SessionStartupPref::URLS); 81 override_test.urls.push_back(GURL("dev.chromium.org")); 85 EXPECT_EQ(3u, result.urls.size()); 106 EXPECT_EQ(0U, pref.urls.size()); 108 EXPECT_EQ(SessionStartupPref::URLS, pref.type); 109 EXPECT_EQ(1U, pref.urls.size()) [all...] |
session_startup_pref.cc | 37 case SessionStartupPref::URLS: return SessionStartupPref::kPrefValueURLs; 53 pref->urls.clear(); 58 pref->urls.push_back(fixed_url); 112 // Always save the URLs, that way the UI can remain consistent even if the 119 for (size_t i = 0; i < pref.urls.size(); ++i) { 121 new base::StringValue(pref.urls[i].spec())); 142 // Always load the urls, even if the pref type isn't URLS. This way the 155 // Check if we need to migrate the old version of the startup URLs preference 236 // Migrate to the list of URLs. (If restore_on_startup was never set [all...] |
/external/chromium_org/chrome/browser/ui/startup/ |
startup_browser_creator_interactive_uitest.cc | 51 SessionStartupPref pref_urls(SessionStartupPref::URLS); 52 pref_urls.urls.push_back(ui_test_utils::GetTestUrl(
|
startup_browser_creator_browsertest.cc | 155 std::vector<GURL> urls; local 156 urls.push_back(GURL("http://localhost")); 178 launch.OpenURLsInBrowser(popup, false, urls, chrome::GetActiveDesktop()); 187 // Verify that startup URLs are honored when the process already exists but has 192 // Use a couple same-site HTTP URLs. 194 std::vector<GURL> urls; local 195 urls.push_back(test_server()->GetURL("files/title1.html")); 196 urls.push_back(test_server()->GetURL("files/title2.html")); 198 // Set the startup preference to open these URLs. 199 SessionStartupPref pref(SessionStartupPref::URLS); 238 std::vector<GURL> urls; local 818 std::vector<GURL> urls; local 927 std::vector<GURL> urls; local [all...] |
startup_browser_creator_impl.cc | 121 LM_WITH_URLS, // Launched with urls in the cmd line. 173 void UrlsToTabs(const std::vector<GURL>& urls, StartupTabs* tabs) { 174 for (size_t i = 0; i < urls.size(); ++i) { 177 tab.url = urls[i]; 370 // URLs in that case. The user should see the window as an app, 426 // App shortcuts to URLs always open in an app window. Because this 500 // Restrict allowed URLs for --app switch. 551 // ProcessStartupURLs processed the urls, nothing else to do. 572 // Open user-specified URLs like pinned tabs and startup tabs. 581 // Session startup didn't occur, open the urls 707 std::vector<GURL> urls; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/ |
settings_overrides_browsertest.cc | 58 const GURL urls[] = {GURL("http://foo"), GURL("http://bar")}; local 60 startup_pref.urls.assign(urls, urls + arraysize(urls)); 80 EXPECT_EQ(SessionStartupPref::URLS, startup_pref.type); 82 startup_pref.urls); 118 EXPECT_EQ(std::vector<GURL>(urls, urls + arraysize(urls)), startup_pref.urls) [all...] |
/external/chromium_org/chrome/browser/profile_resetter/ |
profile_resetter_unittest.cc | 448 TemplateURLService::TemplateURLVector urls = model->GetTemplateURLs(); local 453 EXPECT_EQ(urls, model->GetTemplateURLs()); 732 EXPECT_EQ(SessionStartupPref::URLS, startup_pref.type); 733 const GURL urls[] = {GURL("http://goo.gl"), GURL("http://foo.de")}; local 734 EXPECT_EQ(std::vector<GURL>(urls, urls + arraysize(urls)), startup_pref.urls); 742 const GURL urls[] = {GURL("http://foo"), GURL("http://bar")}; local 743 SessionStartupPref startup_pref(SessionStartupPref::URLS); 928 const GURL urls[] = {GURL("http:\/\/foo.de"), GURL("http:\/\/goo.gl")}; local [all...] |
resettable_settings_snapshot.cc | 62 // URLs are always stored sorted. 63 std::sort(startup_.urls.begin(), startup_.urls.end()); 110 startup_.urls != snapshot.startup_.urls) 166 const std::vector<GURL>& urls = snapshot.startup_urls(); local 167 for (std::vector<GURL>::const_iterator i = urls.begin(); 168 i != urls.end(); ++i) 263 const std::vector<GURL>& urls = snapshot.startup_urls(); local 265 for (std::vector<GURL>::const_iterator i = urls.begin() [all...] |
/external/chromium_org/chrome/browser/rlz/ |
rlz.cc | 254 if (session_startup_prefs.type == SessionStartupPref::URLS) { 256 std::count_if(session_startup_prefs.urls.begin(), 257 session_startup_prefs.urls.end(),
|
/external/chromium_org/chrome/browser/net/ |
predictor.cc | 136 // This records UMAs for preconnect usage based on navigation URLs to 321 UrlList urls = GetPredictedUrlListAtStartup(user_prefs, local_state); local 352 urls, referral_list, 447 UrlList urls; local 448 // Recall list of URLs we learned about during last session. 474 urls.push_back(url); 483 if (SessionStartupPref::URLS == tab_start_pref.type) { 484 for (size_t i = 0; i < tab_start_pref.urls.size(); i++) { 485 GURL gurl = tab_start_pref.urls[i]; 489 urls.push_back(gurl.GetWithEmptyPath()) 857 UrlList urls; local [all...] |