HomeSort by relevance Sort by last modified time
    Searched refs:URLS (Results 1 - 23 of 23) sorted by null

  /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/chrome/browser/prefs/
session_startup_pref.h 26 // Indicates the user wants to restore a specific set of URLs. The URLs
27 // are contained in urls.
28 URLS
40 // Whether the startup type and URLs are managed via policy.
53 // The URLs to restore. Only used if type == URLS.
54 std::vector<GURL> urls; member in struct:SessionStartupPref
session_startup_pref.cc 30 case SessionStartupPref::URLS: return kPrefValueURLs;
39 case kPrefValueURLs: return SessionStartupPref::URLS;
70 // Always save the URLs, that way the UI can remain consistent even if the
77 for (size_t i = 0; i < pref.urls.size(); ++i) {
79 new StringValue(pref.urls[i].spec()));
96 // Always load the urls, even if the pref type isn't URLS. This way the
107 pref.urls.push_back(fixed_url);
session_startup_pref_unittest.cc 30 EXPECT_EQ(2u, result.urls.size());
31 EXPECT_EQ("http://google.com/", result.urls[0].spec());
32 EXPECT_EQ("http://chromium.org/", result.urls[1].spec());
49 EXPECT_EQ(3u, result.urls.size());
52 SessionStartupPref(SessionStartupPref::URLS);
53 override_test.urls.push_back(GURL("dev.chromium.org"));
57 EXPECT_EQ(3u, result.urls.size());
  /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 StringValue(pref.urls[i].spec()));
142 // Always load the urls, even if the pref type isn't URLS. This way the
154 // Check if we need to migrate the old version of the startup URLs preference
235 // Migrate to the list of URLs. (If restore_on_startup was never set
    [all...]
  /external/chromium_org/chrome/test/functional/perf/
endure_setup.py 50 URLS = {'depot_tools': ('http://src.chromium.org'
136 if subprocess.call(['svn', 'co', URLS['depot_tools'], depot_dir]) != 0:
177 config_cmd = [gclient, 'config', URLS['pyauto']]
226 URLS['binary'].format(
  /external/libvpx/libvpx/examples/includes/geshi/geshi/
z80.php 120 'URLS' => array(
ruby.php 180 'URLS' => array(
rails.php 360 'URLS' => array(
  /external/libvpx/libvpx/examples/includes/geshi/contrib/
langcheck.php 343 if(!isset($language_data['URLS'])) {
344 report_error(TYPE_ERROR, 'Language file contains no $language_data[\'URLS\'] structure to check!');
345 } else if (!is_array($language_data['URLS'])) {
346 report_error(TYPE_ERROR, 'Language file contains a $language_data[\'URLS\'] structure which is not an array!');
348 foreach($language_data['URLS'] as $url_key => $url_value) {
350 report_error(TYPE_WARNING, "Language file contains an key '$url_key' in \$language_data['URLS'] that is not integer!");
352 report_error(TYPE_ERROR, "Language file contains a Documentation URL specification for \$language_data['URLS']['$url_value'] which is not a string!");
354 report_error(TYPE_ERROR, "Language file contains unescaped ampersands (&amp;) in \$language_data['URLS']!");
452 if(!isset($language_data['URLS'][$key])) {
453 report_error(TYPE_ERROR, "Language file contains no \$language_data['URLS'] specification for keyword group $key!")
    [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
796 std::vector<GURL> urls; local
896 std::vector<GURL> urls; local
    [all...]
startup_browser_creator_impl.cc 123 LM_WITH_URLS, // Launched with urls in the cmd line.
175 void UrlsToTabs(const std::vector<GURL>& urls, StartupTabs* tabs) {
176 for (size_t i = 0; i < urls.size(); ++i) {
179 tab.url = urls[i];
390 // URLs in that case. The user should see the window as an app,
463 // App shortcuts to URLs always open in an app window. Because this
537 // Restrict allowed URLs for --app switch.
592 // ProcessStartupURLs processed the urls, nothing else to do.
613 // Open user-specified URLs like pinned tabs and startup tabs.
622 // Session startup didn't occur, open the urls
751 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));
76 EXPECT_EQ(SessionStartupPref::URLS, startup_pref.type);
78 startup_pref.urls);
113 EXPECT_EQ(std::vector<GURL>(urls, urls + arraysize(urls)), startup_pref.urls)
    [all...]
  /external/chromium_org/chrome/browser/profile_resetter/
profile_resetter_unittest.cc 319 TemplateURLService::TemplateURLVector urls = model->GetTemplateURLs(); local
324 EXPECT_EQ(urls, model->GetTemplateURLs());
587 EXPECT_EQ(SessionStartupPref::URLS, startup_pref.type);
588 const GURL urls[] = {GURL("http://goo.gl"), GURL("http://foo.de")}; local
589 EXPECT_EQ(std::vector<GURL>(urls, urls + arraysize(urls)), startup_pref.urls);
597 const GURL urls[] = {GURL("http://foo"), GURL("http://bar")}; local
598 SessionStartupPref startup_pref(SessionStartupPref::URLS);
749 const GURL urls[] = {GURL("http:\/\/foo.de"), GURL("http:\/\/goo.gl")}; local
    [all...]
resettable_settings_snapshot.cc 52 // URLs are always stored sorted.
53 std::sort(startup_.urls.begin(), startup_.urls.end());
94 startup_.urls != snapshot.startup_.urls)
119 const std::vector<GURL>& urls = snapshot.startup_urls(); local
120 for (std::vector<GURL>::const_iterator i = urls.begin();
121 i != urls.end(); ++i)
199 const std::vector<GURL>& urls = snapshot.startup_urls(); local
201 for (std::vector<GURL>::const_iterator i = urls.begin()
    [all...]
  /external/chromium/chrome/browser/net/
predictor_api.cc 40 static void DnsPrefetchMotivatedList(const UrlList& urls,
107 // The number of URLs we'll save for pre-resolving at next startup.
164 UrlList urls; local
168 urls.push_back(GURL("http://" + *it + ":80"));
172 DnsPrefetchMotivatedList(urls, UrlInfo::PAGE_SCAN_MOTIVATED);
176 const UrlList& urls,
184 g_predictor->ResolveList(urls, motivation);
190 &Predictor::ResolveList, urls, motivation));
194 // This API is used by the autocomplete popup box (where URLs are typed).
406 UrlList urls local
506 UrlList urls; local
    [all...]
  /external/chromium_org/chrome/browser/rlz/
rlz.cc 246 if (session_startup_prefs.type == SessionStartupPref::URLS) {
248 std::count_if(session_startup_prefs.urls.begin(),
249 session_startup_prefs.urls.end(),
  /external/chromium/chrome/browser/ui/
browser_init.cc 380 LM_WITH_URLS, // Launched with urls in the cmd line.
435 void UrlsToTabs(const std::vector<GURL>& urls,
437 for (size_t i = 0; i < urls.size(); ++i) {
440 tab.url = urls[i];
689 // URLs in that case. The user should see the window as an app,
765 // App shortcuts to URLs always open in an app window. Because this
823 // Restrict allowed URLs for --app switch.
857 // ProcessStartupURLs processed the urls, nothing else to do.
866 // user double clicked the chrome icon. Return so we don't open the urls.
870 // Session restore didn't occur, open the urls
926 std::vector<GURL> urls; local
1245 std::vector<GURL> urls; local
    [all...]
  /external/chromium_org/chrome/browser/net/
predictor.cc 133 // This records UMAs for preconnect usage based on navigation URLs to
315 UrlList urls = GetPredictedUrlListAtStartup(user_prefs, local_state); local
345 urls, referral_list,
440 UrlList urls; local
441 // Recall list of URLs we learned about during last session.
467 urls.push_back(url);
476 if (SessionStartupPref::URLS == tab_start_pref.type) {
477 for (size_t i = 0; i < tab_start_pref.urls.size(); i++) {
478 GURL gurl = tab_start_pref.urls[i];
482 urls.push_back(gurl.GetWithEmptyPath())
845 UrlList urls; local
    [all...]

Completed in 411 milliseconds