/external/chromium_org/chrome/browser/prerender/ |
D | prerender_unittest.cc | 344 UnitTestPrerenderManager* prerender_manager() { in prerender_manager() function in prerender::PrerenderTest 353 prerender_manager()->mutable_config().max_link_concurrency_per_launcher = in SetConcurrency() 355 prerender_manager()->mutable_config().max_link_concurrency = in SetConcurrency() 356 std::max(prerender_manager()->mutable_config().max_link_concurrency, in SetConcurrency() 414 prerender_manager()->CreateNextPrerenderContents( in TEST_F() 419 ASSERT_EQ(prerender_contents, prerender_manager()->FindAndUseEntry(url)); in TEST_F() 429 prerender_manager()->CreateNextPrerenderContents( in TEST_F() 434 EXPECT_EQ(null, prerender_manager()->next_prerender_contents()); in TEST_F() 438 prerender_manager()->CreateNextPrerenderContents( in TEST_F() 443 prerender_manager()->next_prerender_contents()); in TEST_F() [all …]
|
D | prerender_tab_helper.cc | 31 PrerenderManager* prerender_manager, in ReportTabHelperURLSeenToLocalPredictor() argument 34 if (!prerender_manager) in ReportTabHelperURLSeenToLocalPredictor() 37 prerender_manager->local_predictor(); in ReportTabHelperURLSeenToLocalPredictor() 72 PrerenderManager* prerender_manager = MaybeGetPrerenderManager(); in PrerenderTabHelper() local 73 if (prerender_manager && in PrerenderTabHelper() 74 prerender_manager->IsWebContentsPrerendering(web_contents, &origin_)) { in PrerenderTabHelper() 90 PrerenderManager* prerender_manager = MaybeGetPrerenderManager(); in ProvisionalChangeToMainFrameUrl() local 91 if (!prerender_manager) in ProvisionalChangeToMainFrameUrl() 93 if (prerender_manager->IsWebContentsPrerendering(web_contents(), NULL)) in ProvisionalChangeToMainFrameUrl() 95 ReportTabHelperURLSeenToLocalPredictor(prerender_manager, url, in ProvisionalChangeToMainFrameUrl() [all …]
|
D | external_prerender_handler_android.cc | 43 PrerenderManager* prerender_manager = in AddPrerender() local 45 if (!prerender_manager) in AddPrerender() 53 prerender_manager->AddPrerenderFromExternalRequest( in AddPrerender() 83 prerender::PrerenderManager* prerender_manager = in HasPrerenderedUrl() local 85 if (!prerender_manager) in HasPrerenderedUrl() 89 return prerender_manager->HasPrerenderedUrl(url, web_contents); in HasPrerenderedUrl() 96 prerender::PrerenderManager* prerender_manager = in HasCookieStoreLoaded() local 98 if (!prerender_manager) in HasCookieStoreLoaded() 100 return prerender_manager->cookie_store_loaded(); in HasCookieStoreLoaded()
|
D | prerender_manager_factory.cc | 73 PrerenderManager* prerender_manager = new PrerenderManager( in BuildServiceInstanceFor() local 77 prerender_manager->AddCondition(new chromeos::PrerenderConditionNetwork); in BuildServiceInstanceFor() 80 prerender_manager->AddCondition(new android::PrerenderConditionPlatform( in BuildServiceInstanceFor() 83 return prerender_manager; in BuildServiceInstanceFor()
|
D | prerender_link_manager_factory.cc | 37 PrerenderManager* prerender_manager = in BuildServiceInstanceFor() local 39 if (!prerender_manager) in BuildServiceInstanceFor() 42 new PrerenderLinkManager(prerender_manager); in BuildServiceInstanceFor()
|
D | prerender_contents.cc | 102 PrerenderManager* prerender_manager, Profile* profile, in CreatePrerenderContents() argument 105 return new PrerenderContents(prerender_manager, profile, in CreatePrerenderContents() 219 PrerenderManager* prerender_manager, in PrerenderContents() argument 227 prerender_manager_(prerender_manager), in PrerenderContents() 246 DCHECK(prerender_manager != NULL); in PrerenderContents() 286 PrerenderManager* prerender_manager = PrerenderManagerFactory::GetForProfile( in FromWebContents() local 288 if (!prerender_manager) in FromWebContents() 290 return prerender_manager->GetPrerenderContents(web_contents); in FromWebContents() 346 prerender_manager()->AddPrerenderProcessHost( in StartPrerendering() 359 base::Unretained(prerender_manager()->prerender_tracker()), in StartPrerendering()
|
D | prerender_tracker_unittest.cc | 37 TestPrerenderContents(PrerenderManager* prerender_manager, in TestPrerenderContents() argument 39 : PrerenderContents(prerender_manager, static_cast<Profile*>(NULL), in TestPrerenderContents() 192 TestPrerenderManager* prerender_manager() { in prerender_manager() function in prerender::PrerenderTrackerTest
|
D | prerender_contents.h | 66 PrerenderManager* prerender_manager, 169 PrerenderManager* prerender_manager() { return prerender_manager_; } in prerender_manager() function 319 PrerenderContents(PrerenderManager* prerender_manager,
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | activity_log_browsertest.cc | 81 prerender::PrerenderManager* prerender_manager = in IN_PROC_BROWSER_TEST_F() local 83 ASSERT_TRUE(prerender_manager); in IN_PROC_BROWSER_TEST_F() 84 prerender_manager->mutable_config().rate_limit_enabled = false; in IN_PROC_BROWSER_TEST_F() 87 prerender_manager->mutable_config().max_bytes = 1000 * 1024 * 1024; in IN_PROC_BROWSER_TEST_F() 88 prerender_manager->mutable_config().time_to_live = in IN_PROC_BROWSER_TEST_F() 90 prerender_manager->mutable_config().abandon_time_to_live = in IN_PROC_BROWSER_TEST_F() 105 if (!prerender_manager->cookie_store_loaded()) { in IN_PROC_BROWSER_TEST_F() 107 prerender_manager->set_on_cookie_store_loaded_cb_for_testing( in IN_PROC_BROWSER_TEST_F() 114 prerender_manager->AddPrerenderFromLocalPredictor( in IN_PROC_BROWSER_TEST_F()
|
D | activity_log_unittest.cc | 244 prerender::PrerenderManager* prerender_manager = in TEST_F() local 248 prerender_manager->OnCookieStoreLoaded(); in TEST_F() 252 prerender_manager->AddPrerenderFromLocalPredictor( in TEST_F() 258 prerender_manager->GetAllPrerenderingContents(); in TEST_F() 261 ASSERT_TRUE(prerender_manager->IsWebContentsPrerendering(contents, NULL)); in TEST_F() 278 prerender_manager->CancelAllPrerenders(); in TEST_F()
|
D | activity_log.cc | 598 const prerender::PrerenderManager* prerender_manager = in OnScriptsExecuted() local 600 if (prerender_manager && in OnScriptsExecuted() 601 prerender_manager->IsWebContentsPrerendering(web_contents, NULL)) in OnScriptsExecuted()
|
/external/chromium_org/chrome/browser/ui/search/ |
D | instant_search_prerenderer.cc | 59 prerender::PrerenderManager* prerender_manager = in Init() local 61 if (prerender_manager) { in Init() 68 prerender_handle_.reset(prerender_manager->AddPrerenderForInstant( in Init() 128 prerender::PrerenderManager* prerender_manager = in UsePrerenderedPage() local 131 !prerender_contents() || !prerender_manager || in UsePrerenderedPage() 138 bool success = prerender_manager->MaybeUsePrerenderedPage( in UsePrerenderedPage()
|
D | instant_search_prerenderer_unittest.cc | 51 PrerenderManager* prerender_manager, 86 PrerenderManager* prerender_manager, 101 PrerenderManager* prerender_manager, in DummyPrerenderContents() argument 108 : PrerenderContents(prerender_manager, profile, url, referrer, origin, in DummyPrerenderContents() 150 PrerenderManager* prerender_manager, in CreatePrerenderContents() argument 156 return new DummyPrerenderContents(prerender_manager, profile, url, referrer, in CreatePrerenderContents()
|
/external/chromium_org/chrome/browser/task_manager/ |
D | tab_contents_information.cc | 45 prerender::PrerenderManager* prerender_manager = in IsContentsPrerendering() local 47 return prerender_manager && in IsContentsPrerendering() 48 prerender_manager->IsWebContentsPrerendering(web_contents, NULL); in IsContentsPrerendering() 162 prerender::PrerenderManager* prerender_manager = in GetAll() local 164 if (prerender_manager) { in GetAll() 166 prerender_manager->GetAllPrerenderingContents(); in GetAll()
|
/external/chromium_org/chrome/browser/google/ |
D | google_search_counter_android.cc | 38 prerender::PrerenderManager* prerender_manager = in ProcessCommittedEntry() local 42 prerender_manager ? prerender_manager->IsEnabled() : false; in ProcessCommittedEntry()
|
/external/chromium_org/chrome/browser/net/ |
D | cookie_store_util.cc | 88 prerender::PrerenderManager* prerender_manager = in OnLoadedAsyncHelper() local 90 if (prerender_manager) in OnLoadedAsyncHelper() 91 prerender_manager->OnCookieStoreLoaded(); in OnLoadedAsyncHelper()
|
D | net_pref_observer.cc | 19 prerender::PrerenderManager* prerender_manager, in NetPrefObserver() argument 21 : prerender_manager_(prerender_manager), in NetPrefObserver()
|
D | net_pref_observer.h | 34 prerender::PrerenderManager* prerender_manager,
|
/external/chromium_org/chrome/browser/history/ |
D | history_tab_helper.cc | 103 prerender::PrerenderManager* prerender_manager = in DidNavigateAnyFrame() local 106 if (prerender_manager) { in DidNavigateAnyFrame() 108 prerender_manager->GetPrerenderContents(web_contents()); in DidNavigateAnyFrame()
|
/external/chromium_org/chrome/browser/android/ |
D | tab_android.cc | 188 prerender::PrerenderManager* prerender_manager = GetPrerenderManager(); in HasPrerenderedUrl() local 189 if (!prerender_manager) in HasPrerenderedUrl() 193 prerender_manager->GetAllPrerenderingContents(); in HasPrerenderedUrl() 196 prerender_contents = prerender_manager-> in HasPrerenderedUrl() 393 prerender::PrerenderManager* prerender_manager = in LoadUrl() local 395 if (prerender_manager) { in LoadUrl() 413 if (prerender_manager->MaybeUsePrerenderedPage(gurl, ¶ms)) { in LoadUrl()
|
D | chrome_web_contents_delegate_android.cc | 287 prerender::PrerenderManager* prerender_manager = in OpenURLFromTab() local 289 if (prerender_manager && in OpenURLFromTab() 290 prerender_manager->MaybeUsePrerenderedPage(params.url, &nav_params)) { in OpenURLFromTab()
|
/external/chromium_org/chrome/browser/ui/webui/net_internals/ |
D | net_internals_ui_browsertest.cc | 319 prerender::PrerenderManager* prerender_manager = in SetUpOnMainThread() local 321 prerender_manager->mutable_config().max_bytes = 1000 * 1024 * 1024; in SetUpOnMainThread() 322 if (!prerender_manager->cookie_store_loaded()) { in SetUpOnMainThread() 324 prerender_manager->set_on_cookie_store_loaded_cb_for_testing( in SetUpOnMainThread()
|
/external/chromium_org/chrome/browser/ui/webui/memory_internals/ |
D | memory_internals_proxy.cc | 101 prerender::PrerenderManager* prerender_manager = in GetAllWebContents() local 103 if (!prerender_manager) in GetAllWebContents() 106 prerender_manager->GetAllPrerenderingContents(); in GetAllWebContents()
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_remover.cc | 338 prerender::PrerenderManager* prerender_manager = in RemoveImpl() local 340 if (prerender_manager) { in RemoveImpl() 341 prerender_manager->ClearData( in RemoveImpl() 588 prerender::PrerenderManager* prerender_manager = in RemoveImpl() local 590 if (prerender_manager) { in RemoveImpl() 591 prerender_manager->ClearData( in RemoveImpl()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | chrome_resource_dispatcher_host_delegate.cc | 153 prerender::PrerenderManager* prerender_manager = in UpdatePrerenderNetworkBytesCallback() local 155 if (prerender_manager) in UpdatePrerenderNetworkBytesCallback() 156 prerender_manager->AddProfileNetworkBytesIfEnabled(bytes); in UpdatePrerenderNetworkBytesCallback()
|