Home
last modified time | relevance | path

Searched refs:throttle (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/chrome/browser/prerender/
Dprerender_tracker_unittest.cc105 void SetThrottle(PrerenderResourceThrottle* throttle) { in SetThrottle() argument
106 throttle_ = throttle; in SetThrottle()
235 PrerenderResourceThrottle throttle(&request); in TEST_F() local
236 delegate.SetThrottle(&throttle); in TEST_F()
274 PrerenderResourceThrottle throttle(&request); in TEST_F() local
275 delegate.SetThrottle(&throttle); in TEST_F()
311 PrerenderResourceThrottle throttle(&request); in TEST_F() local
312 delegate.SetThrottle(&throttle); in TEST_F()
Dprerender_tracker.cc41 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle) { in AddPendingSwapThrottleOnIOThread() argument
51 CHECK(!it->second.throttle); in AddPendingSwapThrottleOnIOThread()
52 it->second.throttle = throttle; in AddPendingSwapThrottleOnIOThread()
73 if (it->second.throttle) { in RemovePrerenderPendingSwapOnIOThread()
75 it->second.throttle->Cancel(); in RemovePrerenderPendingSwapOnIOThread()
77 it->second.throttle->Resume(); in RemovePrerenderPendingSwapOnIOThread()
Dprerender_resource_throttle.cc77 const base::WeakPtr<PrerenderResourceThrottle>& throttle, in WillStartRequestOnUI() argument
100 prerender_contents->AddResourceThrottle(throttle); in WillStartRequestOnUI()
110 &PrerenderResourceThrottle::Resume, throttle)); in WillStartRequestOnUI()
114 const base::WeakPtr<PrerenderResourceThrottle>& throttle, in WillRedirectRequestOnUI() argument
141 prerender_contents->AddResourceThrottle(throttle); in WillRedirectRequestOnUI()
151 &PrerenderResourceThrottle::Resume, throttle)); in WillRedirectRequestOnUI()
Dprerender_resource_throttle.h50 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
58 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
Dprerender_tracker.h47 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle);
90 base::WeakPtr<PrerenderPendingSwapThrottle> throttle; member
/external/chromium_org/chrome/browser/extensions/
Duser_script_listener_unittest.cc42 ThrottleController(net::URLRequest* request, ResourceThrottle* throttle) in ThrottleController() argument
44 throttle_(throttle) { in ThrottleController()
169 ResourceThrottle* throttle = in StartTestRequest() local
173 if (throttle) { in StartTestRequest()
174 request->SetUserData(NULL, new ThrottleController(request, throttle)); in StartTestRequest()
176 throttle->WillStartRequest(&defer); in StartTestRequest()
337 ResourceThrottle* throttle = in TEST_F() local
339 ASSERT_TRUE(throttle); in TEST_F()
340 request->SetUserData(NULL, new ThrottleController(request.get(), throttle)); in TEST_F()
351 throttle->WillStartRequest(&defer); in TEST_F()
Duser_script_listener.cc90 Throttle* throttle = new Throttle(); in CreateResourceThrottle() local
91 throttles_.push_back(throttle->AsWeakPtr()); in CreateResourceThrottle()
92 return throttle; in CreateResourceThrottle()
/external/chromium_org/sync/sessions/
Dtest_util.h80 ACTION_P(SimulateThrottled, throttle) { in ACTION_P() argument
81 SimulateThrottledImpl(arg0, throttle); in ACTION_P()
84 ACTION_P2(SimulateTypesThrottled, types, throttle) { in ACTION_P2() argument
85 SimulateTypesThrottledImpl(arg0, types, throttle); in ACTION_P2()
/external/chromium_org/android_webview/browser/renderer_host/
Daw_resource_dispatcher_host_delegate.cc340 IoThreadClientThrottle* throttle) { in RemovePendingThrottleOnIoThread() argument
343 FrameRouteIDPair(throttle->render_process_id(), in RemovePendingThrottleOnIoThread()
344 throttle->render_frame_id())); in RemovePendingThrottleOnIoThread()
394 IoThreadClientThrottle* throttle = it->second; in OnIoThreadClientReadyInternal() local
395 throttle->OnIoThreadClientReady(new_render_process_id, new_render_frame_id); in OnIoThreadClientReadyInternal()
Daw_resource_dispatcher_host_delegate.h67 void RemovePendingThrottleOnIoThread(IoThreadClientThrottle* throttle);
/external/chromium_org/content/browser/loader/
Dresource_scheduler_unittest.cc38 TestRequest(scoped_ptr<ResourceThrottle> throttle, in TestRequest() argument
41 throttle_(throttle.Pass()), in TestRequest()
71 CancelingTestRequest(scoped_ptr<ResourceThrottle> throttle, in CancelingTestRequest() argument
73 : TestRequest(throttle.Pass(), url_request.Pass()) { in CancelingTestRequest()
180 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( in NewRequestWithRoute() local
182 TestRequest* request = new TestRequest(throttle.Pass(), url_request.Pass()); in NewRequestWithRoute()
296 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( in TEST_F() local
299 throttle.Pass(), url_request.Pass())); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
Dweb_navigation_apitest.cc101 Throttle* throttle = new Throttle(); in CreateResourceThrottle() local
102 throttles_.push_back(throttle->AsWeakPtr()); in CreateResourceThrottle()
103 return throttle; in CreateResourceThrottle()
249 content::ResourceThrottle* throttle = in RequestBeginning() local
252 if (throttle) in RequestBeginning()
253 throttles->push_back(throttle); in RequestBeginning()
/external/chromium_org/build/android/pylib/monkey/
Dtest_runner.py31 timeout_ms = self._options.event_count * self._options.throttle * 1.5
36 '--throttle %d' % self._options.throttle,
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc484 content::ResourceThrottle* throttle = in AppendStandardResourceThrottles() local
489 if (throttle) in AppendStandardResourceThrottles()
490 throttles->push_back(throttle); in AppendStandardResourceThrottles()
501 content::ResourceThrottle* throttle = in AppendStandardResourceThrottles() local
504 if (throttle) in AppendStandardResourceThrottles()
505 throttles->push_back(throttle); in AppendStandardResourceThrottles()
Dsafe_browsing_resource_throttle.cc133 const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle, in StartDisplayingBlockingPage() argument
160 base::Bind(&SafeBrowsingResourceThrottle::Cancel, throttle)); in StartDisplayingBlockingPage()
Dsafe_browsing_resource_throttle.h96 const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle,
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dtool.h37 throttle, member
/external/chromium_org/content/browser/worker_host/
Dworker_service_impl.cc157 bool throttle = true; in UpdateWorkerPrioritiesFromVisibleSet() local
177 throttle = false; in UpdateWorkerPrioritiesFromVisibleSet()
182 if (!throttle ) { in UpdateWorkerPrioritiesFromVisibleSet()
187 iter->SetBackgrounded(throttle); in UpdateWorkerPrioritiesFromVisibleSet()
/external/skia/experimental/SimpleiOSApp/iPad/
DAppDelegate_iPad.m32 …Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. G…
/external/chromium_org/third_party/skia/experimental/SimpleiOSApp/iPad/
DAppDelegate_iPad.m32 …Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. G…
/external/chromium_org/content/browser/renderer_host/
Drender_widget_helper_mac.mm46 // is necessary to throttle renderers. Fix that.
/external/mesa3d/src/glx/
Ddri2_glx.c89 const __DRI2throttleExtension *throttle; member
490 if (psc->throttle) { in dri2Throttle()
496 psc->throttle->throttle(ctx, draw->driDrawable, reason); in dri2Throttle()
1002 psc->throttle = (__DRI2throttleExtension *) extensions[i]; in dri2BindExtensions()
/external/chromium_org/third_party/mesa/src/src/glx/
Ddri2_glx.c89 const __DRI2throttleExtension *throttle; member
490 if (psc->throttle) { in dri2Throttle()
496 psc->throttle->throttle(ctx, draw->driDrawable, reason); in dri2Throttle()
1002 psc->throttle = (__DRI2throttleExtension *) extensions[i]; in dri2BindExtensions()
/external/chromium_org/third_party/skia/experimental/SimpleiOSApp/iPhone/
DAppDelegate_iPhone.m32 …Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. G…
/external/skia/experimental/SimpleiOSApp/iPhone/
DAppDelegate_iPhone.m32 …Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. G…

12