OLD | NEW |
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 static void RegisterRendererMainThreadFactory( | 227 static void RegisterRendererMainThreadFactory( |
228 RendererMainThreadFactoryFunction create); | 228 RendererMainThreadFactoryFunction create); |
229 | 229 |
230 #if defined(OS_ANDROID) | 230 #if defined(OS_ANDROID) |
231 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { | 231 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { |
232 return browser_demuxer_android_; | 232 return browser_demuxer_android_; |
233 } | 233 } |
234 #endif | 234 #endif |
235 | 235 |
236 MessagePortMessageFilter* message_port_message_filter() const { | 236 MessagePortMessageFilter* message_port_message_filter() const { |
237 return message_port_message_filter_; | 237 return message_port_message_filter_.get(); |
238 } | 238 } |
239 | 239 |
240 void set_is_isolated_guest_for_testing(bool is_isolated_guest) { | 240 void set_is_isolated_guest_for_testing(bool is_isolated_guest) { |
241 is_isolated_guest_ = is_isolated_guest; | 241 is_isolated_guest_ = is_isolated_guest; |
242 } | 242 } |
243 | 243 |
244 // Called when the existence of the other renderer process which is connected | 244 // Called when the existence of the other renderer process which is connected |
245 // to the Worker in this renderer process has changed. | 245 // to the Worker in this renderer process has changed. |
246 // It is only called when "enable-embedded-shared-worker" flag is set. | 246 // It is only called when "enable-embedded-shared-worker" flag is set. |
247 void IncrementWorkerRefCount(); | 247 void IncrementWorkerRefCount(); |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 #if defined(OS_MACOSX) | 458 #if defined(OS_MACOSX) |
459 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; | 459 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; |
460 #endif | 460 #endif |
461 | 461 |
462 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 462 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
463 }; | 463 }; |
464 | 464 |
465 } // namespace content | 465 } // namespace content |
466 | 466 |
467 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 467 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |