Home
last modified time | relevance | path

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

12

/external/chromium_org/content/browser/service_worker/
Dservice_worker_process_manager.cc16 RenderProcessHost* rph = RenderProcessHost::FromID(process_id); in IncrementWorkerRefCountByPid() local
17 if (!rph || rph->FastShutdownStarted()) in IncrementWorkerRefCountByPid()
20 static_cast<RenderProcessHostImpl*>(rph)->IncrementWorkerRefCount(); in IncrementWorkerRefCountByPid()
57 RenderProcessHost* rph = RenderProcessHost::FromID(it->second.process_id); in Shutdown() local
58 DCHECK(rph); in Shutdown()
59 static_cast<RenderProcessHostImpl*>(rph)->DecrementWorkerRefCount(); in Shutdown()
120 RenderProcessHost* rph = site_instance->GetProcess(); in AllocateWorkerProcess() local
124 if (!rph->Init()) { in AllocateWorkerProcess()
136 static_cast<RenderProcessHostImpl*>(rph)->IncrementWorkerRefCount(); in AllocateWorkerProcess()
140 base::Bind(callback, SERVICE_WORKER_OK, rph->GetID())); in AllocateWorkerProcess()
[all …]
Dembedded_worker_instance.cc72 if (RenderProcessHost* rph = RenderProcessHost::FromID(process_id)) { in RegisterToWorkerDevToolsManager() local
74 worker_devtools_agent_route_id = rph->GetNextRoutingID(); in RegisterToWorkerDevToolsManager()
/external/chromium_org/content/browser/renderer_host/
Drender_process_host_browsertest.cc64 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
69 rph->AddObserver(this); in IN_PROC_BROWSER_TEST_F()
71 rph->OnMessageReceived(msg); in IN_PROC_BROWSER_TEST_F()
80 rph->RemoveObserver(this); in IN_PROC_BROWSER_TEST_F()
92 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
95 reinterpret_cast<RenderProcessHostImpl*>(rph)-> in IN_PROC_BROWSER_TEST_F()
169 RenderProcessHost* rph = in IN_PROC_BROWSER_TEST_F() local
174 rph->AddObserver(&shell_closer); in IN_PROC_BROWSER_TEST_F()
175 rph->AddObserver(&observer_logger); in IN_PROC_BROWSER_TEST_F()
190 rph->RemoveObserver(&shell_closer); in IN_PROC_BROWSER_TEST_F()
[all …]
Drender_process_host_impl.h197 static void FilterURL(RenderProcessHost* rph, bool empty_allowed, GURL* url);
/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.cc243 void InstantService::SendSearchURLsToRenderer(content::RenderProcessHost* rph) { in SendSearchURLsToRenderer() argument
244 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.cc141 content::RenderProcessHost* rph = web_contents()->GetRenderProcessHost(); in OnSetupScriptedPrintPreview() local
144 if (map.count(rph) != 0) { in OnSetupScriptedPrintPreview()
169 map[rph] = callback; in OnSetupScriptedPrintPreview()
170 scripted_print_preview_rph_ = rph; in OnSetupScriptedPrintPreview()
Dprint_preview_dialog_controller.cc328 content::RenderProcessHost* rph) { in OnRendererProcessClosed() argument
337 if (preview_dialog->GetRenderProcessHost() == rph) { in OnRendererProcessClosed()
340 initiator->GetRenderProcessHost() == rph) { in OnRendererProcessClosed()
Dprint_preview_dialog_controller.h95 void OnRendererProcessClosed(content::RenderProcessHost* rph);
/external/chromium_org/content/browser/media/capture/
Dweb_contents_tracker.cc51 RenderProcessHost* const rph = rvh ? rvh->GetProcess() : NULL; in OnWebContentsChangeEvent() local
53 const int render_process_id = rph ? rph->GetID() : MSG_ROUTING_NONE; in OnWebContentsChangeEvent()
/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.cc158 content::RenderProcessHost* rph = contents->GetRenderProcessHost(); in DefaultSearchProviderChanged() local
159 instant_service->SendSearchURLsToRenderer(rph); in DefaultSearchProviderChanged()
163 if (!instant_service->IsInstantProcess(rph->GetID())) in DefaultSearchProviderChanged()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_file_system_registry.cc117 void OnRenderProcessHostDestroyed(RenderProcessHost* rph);
139 RenderProcessHost* rph = contents->GetRenderProcessHost(); in ReferenceFromRVH() local
141 if (!ContainsKey(observer_map_, rph)) { in ReferenceFromRVH()
142 state = new RPHObserver(this, rph); in ReferenceFromRVH()
143 observer_map_[rph] = state; in ReferenceFromRVH()
145 state = observer_map_[rph]; in ReferenceFromRVH()
209 RenderProcessHost* rph) { in OnRenderProcessHostDestroyed() argument
210 RPHObserverMap::iterator rph_info = observer_map_.find(rph); in OnRenderProcessHostDestroyed()
226 RenderProcessHost* rph = contents->GetRenderProcessHost(); in OnWebContentsDestroyedOrNavigated() local
227 RPHObserverMap::iterator rph_info = observer_map_.find(rph); in OnWebContentsDestroyedOrNavigated()
[all …]
/external/chromium_org/components/breakpad/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/speech/
Dchrome_speech_recognition_manager_delegate.cc386 content::RenderProcessHost* rph = in FilterProfanities() local
388 if (!rph) // Guard against race conditions on RPH lifetime. in FilterProfanities()
391 return Profile::FromBrowserContext(rph->GetBrowserContext())->GetPrefs()-> in FilterProfanities()
/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.cc252 RenderProcessHost* rph = child->current_frame_host()->GetProcess(); in IN_PROC_BROWSER_TEST_F() local
255 EXPECT_NE(shell()->web_contents()->GetRenderProcessHost(), rph); in IN_PROC_BROWSER_TEST_F()
293 EXPECT_NE(rph, child->current_frame_host()->GetProcess()); 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.cc302 content::RenderProcessHost* rph = content::RenderProcessHost::FromID( in GetRequestContextForRenderProcess() local
304 return rph->GetStoragePartition()->GetURLRequestContext(); in GetRequestContextForRenderProcess()
Dprofile_impl.cc943 content::RenderProcessHost* rph = content::RenderProcessHost::FromID( in GetRequestContextForRenderProcess() local
946 return rph->GetStoragePartition()->GetURLRequestContext(); in GetRequestContextForRenderProcess()
957 content::RenderProcessHost* rph = content::RenderProcessHost::FromID( in GetMediaRequestContextForRenderProcess() local
959 content::StoragePartition* storage_partition = rph->GetStoragePartition(); in GetMediaRequestContextForRenderProcess()
/external/chromium_org/content/browser/devtools/
Dembedded_worker_devtools_manager.cc304 RenderProcessHost* rph = RenderProcessHost::FromID(worker_process_id); in WorkerContextStarted() local
307 DevToolsManagerImpl::GetInstance()->Inspect(rph->GetBrowserContext(), in WorkerContextStarted()
/external/chromium_org/content/public/test/
Dbrowser_test_utils.cc217 RenderProcessHost* rph = web_contents->GetRenderProcessHost(); in CrashTab() local
219 rph, RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); in CrashTab()
220 base::KillProcess(rph->GetHandle(), 0, false); in CrashTab()

12