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

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

Issue 2389193004: Always use ChannelMojo for content child processes. (Closed)
Patch Set: Created 4 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
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_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
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
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_
OLDNEW
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698