Home
last modified time | relevance | path

Searched refs:rph (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/content/browser/service_worker/
Dservice_worker_process_manager.cc28 RenderProcessHost* rph = RenderProcessHost::FromID(process_id); in IncrementWorkerRefCountByPid() local
29 if (!rph || rph->FastShutdownStarted()) in IncrementWorkerRefCountByPid()
32 static_cast<RenderProcessHostImpl*>(rph)->IncrementWorkerRefCount(); in IncrementWorkerRefCountByPid()
69 RenderProcessHost* rph = RenderProcessHost::FromID(it->second.process_id); in Shutdown() local
70 DCHECK(rph); in Shutdown()
71 static_cast<RenderProcessHostImpl*>(rph)->DecrementWorkerRefCount(); in Shutdown()
190 RenderProcessHost* rph = site_instance->GetProcess(); in AllocateWorkerProcess() local
194 if (!rph->Init()) { in AllocateWorkerProcess()
206 static_cast<RenderProcessHostImpl*>(rph)->IncrementWorkerRefCount(); in AllocateWorkerProcess()
210 base::Bind(callback, SERVICE_WORKER_OK, rph->GetID())); in AllocateWorkerProcess()
[all …]
Dembedded_worker_instance.cc95 if (RenderProcessHost* rph = RenderProcessHost::FromID(process_id)) { in RegisterToWorkerDevToolsManager() local
97 worker_devtools_agent_route_id = rph->GetNextRoutingID(); in RegisterToWorkerDevToolsManager()
/external/chromium_org/content/browser/renderer_host/
Drender_process_host_browsertest.cc70 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
75 rph->AddObserver(this); in IN_PROC_BROWSER_TEST_F()
77 rph->OnMessageReceived(msg); in IN_PROC_BROWSER_TEST_F()
86 rph->RemoveObserver(this); in IN_PROC_BROWSER_TEST_F()
98 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
101 reinterpret_cast<RenderProcessHostImpl*>(rph)-> in IN_PROC_BROWSER_TEST_F()
175 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
180 rph->AddObserver(&shell_closer); in IN_PROC_BROWSER_TEST_F()
181 rph->AddObserver(&observer_logger); in IN_PROC_BROWSER_TEST_F()
196 rph->RemoveObserver(&shell_closer); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/search/
Dinstant_service_unittest.cc99 scoped_ptr<content::MockRenderProcessHost> rph( in TEST_F() local
101 rph->sink().ClearMessages(); in TEST_F()
104 content::Source<content::MockRenderProcessHost>(rph.get()), in TEST_F()
106 EXPECT_EQ(1U, rph->sink().message_count()); in TEST_F()
107 const IPC::Message* msg = rph->sink().GetMessageAt(0); in TEST_F()
Dinstant_service.h83 void SendSearchURLsToRenderer(content::RenderProcessHost* rph);
Dinstant_service.cc242 void InstantService::SendSearchURLsToRenderer(content::RenderProcessHost* rph) { in SendSearchURLsToRenderer() argument
243 rph->Send(new ChromeViewMsg_SetSearchURLs( in SendSearchURLsToRenderer()
/external/chromium_org/content/browser/download/
Ddownload_request_handle.cc51 RenderProcessHost* rph = rvh->GetProcess(); in GetDownloadManager() local
52 if (rph == NULL) in GetDownloadManager()
54 BrowserContext* context = rph->GetBrowserContext(); in GetDownloadManager()
/external/chromium_org/chrome/browser/printing/
Dprint_view_manager.cc131 content::RenderProcessHost* rph = web_contents()->GetRenderProcessHost(); in OnSetupScriptedPrintPreview() local
134 if (map.count(rph) != 0) { in OnSetupScriptedPrintPreview()
159 map[rph] = callback; in OnSetupScriptedPrintPreview()
160 scripted_print_preview_rph_ = rph; in OnSetupScriptedPrintPreview()
Dprint_preview_dialog_controller.cc284 content::RenderProcessHost* rph) { in OnRendererProcessClosed() argument
293 if (preview_dialog->GetRenderProcessHost() == rph) { in OnRendererProcessClosed()
296 initiator->GetRenderProcessHost() == rph) { in OnRendererProcessClosed()
Dprint_preview_dialog_controller.h95 void OnRendererProcessClosed(content::RenderProcessHost* rph);
/external/chromium_org/components/navigation_interception/
Dintercept_navigation_resource_throttle.cc39 RenderProcessHost* rph = RenderProcessHost::FromID(render_process_id); in CheckIfShouldIgnoreNavigationOnUIThread() local
40 if (rph) { in CheckIfShouldIgnoreNavigationOnUIThread()
42 rph->FilterURL(false, &validated_params.url()); in CheckIfShouldIgnoreNavigationOnUIThread()
/external/chromium_org/chrome/browser/ui/
Dbrowser_instant_controller.cc157 content::RenderProcessHost* rph = contents->GetRenderProcessHost(); in DefaultSearchProviderChanged() local
158 instant_service->SendSearchURLsToRenderer(rph); in DefaultSearchProviderChanged()
162 if (!instant_service->IsInstantProcess(rph->GetID())) in DefaultSearchProviderChanged()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_file_system_registry.cc118 void OnRenderProcessHostDestroyed(RenderProcessHost* rph);
140 RenderProcessHost* rph = contents->GetRenderProcessHost(); in ReferenceFromRVH() local
142 if (!ContainsKey(observer_map_, rph)) { in ReferenceFromRVH()
143 state = new RPHObserver(this, rph); in ReferenceFromRVH()
144 observer_map_[rph] = state; in ReferenceFromRVH()
146 state = observer_map_[rph]; in ReferenceFromRVH()
210 RenderProcessHost* rph) { in OnRenderProcessHostDestroyed() argument
211 RPHObserverMap::iterator rph_info = observer_map_.find(rph); in OnRenderProcessHostDestroyed()
227 RenderProcessHost* rph = contents->GetRenderProcessHost(); in OnWebContentsDestroyedOrNavigated() local
228 RPHObserverMap::iterator rph_info = observer_map_.find(rph); in OnWebContentsDestroyedOrNavigated()
[all …]
/external/chromium_org/components/crash/browser/
Dcrash_dump_manager_android.cc140 content::RenderProcessHost* rph = in Observe() local
142 OnChildExit(rph->GetID(), rph->GetHandle()); in Observe()
/external/chromium_org/chrome/browser/power/
Dprocess_power_collector.cc196 const content::RenderProcessHost* rph, in UpdateProcessInMap() argument
198 base::ProcessHandle handle = rph->GetHandle(); in UpdateProcessInMap()
209 Profile::FromBrowserContext(rph->GetBrowserContext()))); in UpdateProcessInMap()
/external/chromium_org/chrome/browser/speech/
Dchrome_speech_recognition_manager_delegate.cc389 content::RenderProcessHost* rph = in FilterProfanities() local
391 if (!rph) // Guard against race conditions on RPH lifetime. in FilterProfanities()
394 return Profile::FromBrowserContext(rph->GetBrowserContext())->GetPrefs()-> in FilterProfanities()
/external/chromium_org/content/browser/devtools/
Dembedded_worker_devtools_agent_host.cc152 RenderProcessHost* rph = RenderProcessHost::FromID(worker_id_.first); in WorkerReadyForInspection() local
153 Inspect(rph->GetBrowserContext()); in WorkerReadyForInspection()
/external/chromium_org/content/browser/
Dtheme_helper_mac.mm141 RenderProcessHost* rph = Source<RenderProcessHost>(source).ptr();
142 rph->Send(new ViewMsg_UpdateScrollbarTheme(
Dsite_per_process_browsertest.cc247 RenderProcessHost* rph = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_F() local
250 EXPECT_NE(shell()->web_contents()->GetRenderProcessHost(), rph); in IN_PROC_BROWSER_TEST_F()
288 EXPECT_NE(rph, child->current_frame_host()->GetProcess()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_impl.cc246 RenderProcessHost* rph = contents_->GetRenderProcessHost(); in DeliverMessages() local
250 rph->OnMessageReceived(**i); in DeliverMessages()
/external/chromium_org/content/browser/frame_host/
Dframe_tree_browsertest.cc254 RenderProcessHost* rph = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_F() local
258 EXPECT_NE(shell()->web_contents()->GetRenderProcessHost(), rph); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/processes/
Dprocesses_api.cc107 content::RenderProcessHost* rph = in GetTabsForProcess() local
109 if (rph == NULL) in GetTabsForProcess()
445 content::RenderProcessHost* rph, in ProcessClosedEvent() argument
452 args->Append(new base::FundamentalValue(rph->GetID())); in ProcessClosedEvent()
Dprocesses_api.h68 content::RenderProcessHost* rph,
/external/chromium_org/chrome/browser/profiles/
Doff_the_record_profile_impl.cc305 content::RenderProcessHost* rph = content::RenderProcessHost::FromID( in GetRequestContextForRenderProcess() local
307 return rph->GetStoragePartition()->GetURLRequestContext(); in GetRequestContextForRenderProcess()
/external/chromium_org/chrome/browser/android/
Dtab_android.cc324 content::RenderProcessHost* rph = web_contents()->GetRenderProcessHost(); in DefaultSearchProviderChanged() local
325 instant_service->SendSearchURLsToRenderer(rph); in DefaultSearchProviderChanged()
329 if (!instant_service->IsInstantProcess(rph->GetID())) in DefaultSearchProviderChanged()

12