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_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 private: | 300 private: |
301 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; | 301 friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test; |
302 friend class VisitRelayingRenderProcessHost; | 302 friend class VisitRelayingRenderProcessHost; |
303 class ConnectionFilterController; | 303 class ConnectionFilterController; |
304 class ConnectionFilterImpl; | 304 class ConnectionFilterImpl; |
305 | 305 |
306 size_t worker_ref_count() { | 306 size_t worker_ref_count() { |
307 return service_worker_ref_count_ + shared_worker_ref_count_; | 307 return service_worker_ref_count_ + shared_worker_ref_count_; |
308 } | 308 } |
309 | 309 |
310 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy( | 310 std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy(); |
311 const std::string& channel_id); | |
312 | 311 |
313 // Creates and adds the IO thread message filters. | 312 // Creates and adds the IO thread message filters. |
314 void CreateMessageFilters(); | 313 void CreateMessageFilters(); |
315 | 314 |
316 // Registers Mojo interfaces to be exposed to the renderer. | 315 // Registers Mojo interfaces to be exposed to the renderer. |
317 void RegisterMojoInterfaces(); | 316 void RegisterMojoInterfaces(); |
318 | 317 |
319 // mojom::RouteProvider: | 318 // mojom::RouteProvider: |
320 void GetRoute( | 319 void GetRoute( |
321 int32_t routing_id, | 320 int32_t routing_id, |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 instance_weak_factory_; | 582 instance_weak_factory_; |
584 | 583 |
585 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 584 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
586 | 585 |
587 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 586 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
588 }; | 587 }; |
589 | 588 |
590 } // namespace content | 589 } // namespace content |
591 | 590 |
592 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 591 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |