Home
last modified time | relevance | path

Searched refs:startup_urls (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/ui/startup/
Dstartup_browser_creator_win.cc34 const std::vector<GURL>& startup_urls) { in OpenStartupURLsInExistingBrowser() argument
40 if (startup_urls.size() > 1) in OpenStartupURLsInExistingBrowser()
43 if (startup_urls[0] != GURL(chrome::kChromeUINewTabURL)) in OpenStartupURLsInExistingBrowser()
Dstartup_browser_creator_impl.cc923 std::vector<GURL>* startup_urls) const { in AddStartupURLs()
929 if (browser_creator_ && startup_urls->empty()) { in AddStartupURLs()
936 startup_urls->push_back(GURL(chrome::kChromeUINewTabURL)); in AddStartupURLs()
938 startup_urls->push_back(internals::GetWelcomePageURL()); in AddStartupURLs()
940 startup_urls->push_back(*it); in AddStartupURLs()
951 if (startup_urls->empty()) { in AddStartupURLs()
952 startup_urls->push_back(GURL(chrome::kChromeUINewTabURL)); in AddStartupURLs()
954 startup_urls->push_back(internals::GetWelcomePageURL()); in AddStartupURLs()
965 for (std::vector<GURL>::const_iterator it = startup_urls->begin(); in AddStartupURLs()
966 it != startup_urls->end(); ++it) { in AddStartupURLs()
[all …]
Dstartup_browser_creator_impl.h149 void AddStartupURLs(std::vector<GURL>* startup_urls) const;
159 const std::vector<GURL>& startup_urls);
Dstartup_browser_creator_browsertest.cc1378 base::ListValue startup_urls; in IN_PROC_BROWSER_TEST_F() local
1379 startup_urls.Append(base::Value::CreateStringValue( in IN_PROC_BROWSER_TEST_F()
1383 startup_urls.DeepCopy(), NULL); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/profile_resetter/
Dresettable_settings_snapshot.cc119 const std::vector<GURL>& urls = snapshot.startup_urls(); in SerializeSettingsReport()
199 const std::vector<GURL>& urls = snapshot.startup_urls(); in GetReadableFeedback()
200 std::string startup_urls; in GetReadableFeedback() local
203 (startup_urls += i->host()) += ' '; in GetReadableFeedback()
205 if (!startup_urls.empty()) { in GetReadableFeedback()
206 startup_urls.erase(startup_urls.end() - 1); in GetReadableFeedback()
209 startup_urls); in GetReadableFeedback()
Dresettable_settings_snapshot.h36 const std::vector<GURL>& startup_urls() const { return startup_.urls; } in startup_urls() function
Dprofile_resetter_unittest.cc730 EXPECT_TRUE(empty_snap.startup_urls().empty()); in TEST_F()
751 nonorganic_snap.startup_urls()); in TEST_F()
793 ListValue* startup_urls = NULL; in TEST_F() local
801 dict->GetList("startup_urls", &startup_urls)); in TEST_F()
/external/chromium_org/chrome/test/functional/
Dprefs_ui.py345 startup_urls = self.GetPrefsInfo().Prefs(pyauto.kURLsToRestoreOnStartup)
346 self.assertEqual(startup_urls[0], 'http://www.google.com/')
347 self.assertEqual(startup_urls[1], 'http://www.amazon.com/')
348 self.assertEqual(startup_urls[2], 'http://ebay.com/')
364 startup_urls = self.GetPrefsInfo().Prefs(pyauto.kURLsToRestoreOnStartup)
365 self.assertEqual(len(startup_urls), 3)
366 self.assertEqual(startup_urls[1], url1)
367 self.assertEqual(startup_urls[2], url2)
374 startup_urls = self.GetPrefsInfo().Prefs(pyauto.kURLsToRestoreOnStartup)
375 self.assertEqual(len(startup_urls), 0)
/external/chromium_org/components/policy/core/common/
Dpreg_parser_win_unittest.cc106 scoped_ptr<RegistryDict> startup_urls(new RegistryDict()); in TEST() local
107 SetString(startup_urls.get(), "1", "http://www.chromium.org"); in TEST()
108 SetString(startup_urls.get(), "2", "http://www.example.com"); in TEST()
109 expected.SetKey("RestoreOnStartupURLs", startup_urls.Pass()); in TEST()
/external/chromium/chrome/browser/
Dio_thread.h100 const chrome_common_net::UrlList& startup_urls,
152 const chrome_common_net::UrlList& startup_urls,
Dio_thread.cc341 const chrome_common_net::UrlList& startup_urls, in InitNetworkPredictor() argument
352 startup_urls, referral_list, preconnect_enabled)); in InitNetworkPredictor()
591 const chrome_common_net::UrlList& startup_urls, in InitNetworkPredictorOnIOThread() argument
610 FinalizePredictorInitialization(predictor_, startup_urls, referral_list); in InitNetworkPredictorOnIOThread()
/external/chromium/chrome/browser/ui/
Dbrowser_init.cc1176 std::vector<GURL>* startup_urls) const { in AddStartupURLs()
1179 if (!startup_urls->empty()) in AddStartupURLs()
1189 startup_urls->push_back(GURL(chrome::kChromeUINewTabURL)); in AddStartupURLs()
1191 startup_urls->push_back(GetWelcomePageURL()); in AddStartupURLs()
1193 startup_urls->push_back(*it); in AddStartupURLs()
1205 startup_urls->push_back(GURL()); // New tab page. in AddStartupURLs()
1211 startup_urls->push_back(GetWelcomePageURL()); in AddStartupURLs()
Dbrowser_init.h195 void AddStartupURLs(std::vector<GURL>* startup_urls) const;
/external/chromium/chrome/browser/net/
Dpredictor_api.cc432 const UrlList& startup_urls, in FinalizePredictorInitialization() argument
439 DnsPrefetchMotivatedList(startup_urls, in FinalizePredictorInitialization()
/external/chromium_org/chrome/browser/net/
Dpredictor.cc801 const UrlList& startup_urls, in FinalizeInitializationOnIOThread() argument
820 DnsPrefetchMotivatedList(startup_urls, UrlInfo::STARTUP_LIST_MOTIVATED); in FinalizeInitializationOnIOThread()