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

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

Issue 24733002: Enable sending MessagePorts to a different renderer (Chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_manager_browsertest.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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const GURL& url); 179 const GURL& url);
180 180
181 static base::MessageLoop* GetInProcessRendererThreadForTesting(); 181 static base::MessageLoop* GetInProcessRendererThreadForTesting();
182 182
183 #if defined(OS_ANDROID) 183 #if defined(OS_ANDROID)
184 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 184 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
185 return browser_demuxer_android_; 185 return browser_demuxer_android_;
186 } 186 }
187 #endif 187 #endif
188 188
189 MessagePortMessageFilter* message_port_message_filter() const {
190 return message_port_message_filter_;
191 }
192
189 protected: 193 protected:
190 // A proxy for our IPC::Channel that lives on the IO thread (see 194 // A proxy for our IPC::Channel that lives on the IO thread (see
191 // browser_process.h) 195 // browser_process.h)
192 scoped_ptr<IPC::ChannelProxy> channel_; 196 scoped_ptr<IPC::ChannelProxy> channel_;
193 197
194 // True if fast shutdown has been performed on this RPH. 198 // True if fast shutdown has been performed on this RPH.
195 bool fast_shutdown_started_; 199 bool fast_shutdown_started_;
196 200
197 // True if we've posted a DeleteTask and will be deleted soon. 201 // True if we've posted a DeleteTask and will be deleted soon.
198 bool deleting_soon_; 202 bool deleting_soon_;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 #if defined(OS_ANDROID) 341 #if defined(OS_ANDROID)
338 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; 342 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_;
339 #endif 343 #endif
340 344
341 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 345 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
342 }; 346 };
343 347
344 } // namespace content 348 } // namespace content
345 349
346 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 350 #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_view_host_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698