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

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: 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. Returns
224 // MSG_ROUTING_NONE if failed. This method needs to be called on IO thread.
225 // If the caller is on UI thread it can directly call GetNextRoutingID.
226 static int GetNextRoutingIDForProcess(int render_process_id);
jam 2014/04/29 06:28:22 i don't see the point of adding this method on Ren
horo 2014/04/29 06:54:39 Done.
227
223 #if defined(OS_ANDROID) 228 #if defined(OS_ANDROID)
224 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 229 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
225 return browser_demuxer_android_; 230 return browser_demuxer_android_;
226 } 231 }
227 #endif 232 #endif
228 233
229 MessagePortMessageFilter* message_port_message_filter() const { 234 MessagePortMessageFilter* message_port_message_filter() const {
230 return message_port_message_filter_; 235 return message_port_message_filter_;
231 } 236 }
232 237
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 base::TimeTicks survive_for_worker_start_time_; 429 base::TimeTicks survive_for_worker_start_time_;
425 430
426 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 431 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
427 432
428 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 433 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
429 }; 434 };
430 435
431 } // namespace content 436 } // namespace content
432 437
433 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 438 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698