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

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

Issue 176843004: Add IncrementWorkerRefCount() and DecrementWorkerRefCount() to RenderProcessHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void ResumeRequestsForView(int route_id) OVERRIDE; 122 virtual void ResumeRequestsForView(int route_id) OVERRIDE;
123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE; 123 virtual void FilterURL(bool empty_allowed, GURL* url) OVERRIDE;
124 #if defined(ENABLE_WEBRTC) 124 #if defined(ENABLE_WEBRTC)
125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE; 125 virtual void EnableAecDump(const base::FilePath& file) OVERRIDE;
126 virtual void DisableAecDump() OVERRIDE; 126 virtual void DisableAecDump() OVERRIDE;
127 virtual void SetWebRtcLogMessageCallback( 127 virtual void SetWebRtcLogMessageCallback(
128 base::Callback<void(const std::string&)> callback) OVERRIDE; 128 base::Callback<void(const std::string&)> callback) OVERRIDE;
129 #endif 129 #endif
130 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) 130 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id)
131 OVERRIDE; 131 OVERRIDE;
132 virtual void SetExternalClientStatus(
133 bool has_external_worker_client) OVERRIDE;
132 134
133 // IPC::Sender via RenderProcessHost. 135 // IPC::Sender via RenderProcessHost.
134 virtual bool Send(IPC::Message* msg) OVERRIDE; 136 virtual bool Send(IPC::Message* msg) OVERRIDE;
135 137
136 // IPC::Listener via RenderProcessHost. 138 // IPC::Listener via RenderProcessHost.
137 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 139 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
138 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 140 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
139 virtual void OnChannelError() OVERRIDE; 141 virtual void OnChannelError() OVERRIDE;
140 142
141 // ChildProcessLauncher::Client implementation. 143 // ChildProcessLauncher::Client implementation.
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 #if defined(ENABLE_WEBRTC) 410 #if defined(ENABLE_WEBRTC)
409 base::Callback<void(const std::string&)> webrtc_log_message_callback_; 411 base::Callback<void(const std::string&)> webrtc_log_message_callback_;
410 #endif 412 #endif
411 413
412 // Lives on the browser's ChildThread. 414 // Lives on the browser's ChildThread.
413 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 415 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
414 416
415 // Message filter and dispatcher for screen orientation. 417 // Message filter and dispatcher for screen orientation.
416 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; 418 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_;
417 419
420 bool has_external_worker_client_;
421
418 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 422 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
419 }; 423 };
420 424
421 } // namespace content 425 } // namespace content
422 426
423 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 427 #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') | content/public/browser/render_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698