Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 252633003: Introduce worker_devtools_agent_route_id for EmbeddedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: RenderProcessHostImpl::GetNextRoutingIDForProcess Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 const GURL& url); 213 const GURL& url);
214 214
215 static base::MessageLoop* GetInProcessRendererThreadForTesting(); 215 static base::MessageLoop* GetInProcessRendererThreadForTesting();
216 216
217 // This forces a renderer that is running "in process" to shut down. 217 // This forces a renderer that is running "in process" to shut down.
218 static void ShutDownInProcessRenderer(); 218 static void ShutDownInProcessRenderer();
219 219
220 static void RegisterRendererMainThreadFactory( 220 static void RegisterRendererMainThreadFactory(
221 RendererMainThreadFactoryFunction create); 221 RendererMainThreadFactoryFunction create);
222 222
223 // Gets the next available routing id of the proccess.
224 // Returns MSG_ROUTING_NONE if failed.
225 static int GetNextRoutingIDForProcess(int render_process_id);
kinuko 2014/04/28 04:31:29 Per comment in RenderWidgetHelper::FromProcessHost
horo 2014/04/28 04:51:23 Done.
226
223 #if defined(OS_ANDROID) 227 #if defined(OS_ANDROID)
224 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 228 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
225 return browser_demuxer_android_; 229 return browser_demuxer_android_;
226 } 230 }
227 #endif 231 #endif
228 232
229 MessagePortMessageFilter* message_port_message_filter() const { 233 MessagePortMessageFilter* message_port_message_filter() const {
230 return message_port_message_filter_; 234 return message_port_message_filter_;
231 } 235 }
232 236
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 base::TimeTicks survive_for_worker_start_time_; 428 base::TimeTicks survive_for_worker_start_time_;
425 429
426 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 430 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
427 431
428 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 432 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
429 }; 433 };
430 434
431 } // namespace content 435 } // namespace content
432 436
433 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 437 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698