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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 2847743003: Eliminate InterfaceRegistry (Closed)
Patch Set: . Created 3 years, 7 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
« no previous file with comments | « content/browser/media/media_interface_proxy.cc ('k') | ios/web/BUILD.gn » ('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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 namespace gpu { 60 namespace gpu {
61 class GpuChannelEstablishFactory; 61 class GpuChannelEstablishFactory;
62 } 62 }
63 63
64 namespace media { 64 namespace media {
65 class CdmFactory; 65 class CdmFactory;
66 } 66 }
67 67
68 namespace service_manager { 68 namespace service_manager {
69 class BinderRegistry; 69 class BinderRegistry;
70 class InterfaceRegistry;
71 class Service; 70 class Service;
72 struct ServiceInfo; 71 struct ServiceInfo;
73 } 72 }
74 73
75 namespace net { 74 namespace net {
76 class CookieOptions; 75 class CookieOptions;
77 class NetLog; 76 class NetLog;
78 class SSLCertRequestInfo; 77 class SSLCertRequestInfo;
79 class SSLInfo; 78 class SSLInfo;
80 class URLRequest; 79 class URLRequest;
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 // |registry| will by default be run immediately on the IO thread, unless a 664 // |registry| will by default be run immediately on the IO thread, unless a
666 // task runner is provided. 665 // task runner is provided.
667 virtual void ExposeInterfacesToRenderer( 666 virtual void ExposeInterfacesToRenderer(
668 service_manager::BinderRegistry* registry, 667 service_manager::BinderRegistry* registry,
669 AssociatedInterfaceRegistry* associated_registry, 668 AssociatedInterfaceRegistry* associated_registry,
670 RenderProcessHost* render_process_host) {} 669 RenderProcessHost* render_process_host) {}
671 670
672 // Called when RenderFrameHostImpl connects to the Media service. Expose 671 // Called when RenderFrameHostImpl connects to the Media service. Expose
673 // interfaces to the service using |registry|. 672 // interfaces to the service using |registry|.
674 virtual void ExposeInterfacesToMediaService( 673 virtual void ExposeInterfacesToMediaService(
675 service_manager::InterfaceRegistry* registry, 674 service_manager::BinderRegistry* registry,
676 RenderFrameHost* render_frame_host) {} 675 RenderFrameHost* render_frame_host) {}
677 676
678 // Allows to register browser Mojo interfaces exposed through the 677 // Allows to register browser Mojo interfaces exposed through the
679 // RenderFrameHost. 678 // RenderFrameHost.
680 virtual void ExposeInterfacesToFrame( 679 virtual void ExposeInterfacesToFrame(
681 service_manager::BinderRegistry* registry, 680 service_manager::BinderRegistry* registry,
682 RenderFrameHost* render_frame_host) {} 681 RenderFrameHost* render_frame_host) {}
683 682
684 // (Currently called only from GPUProcessHost, move somewhere more central). 683 // (Currently called only from GPUProcessHost, move somewhere more central).
685 // Called when a request to bind |interface_name| on |interface_pipe| is 684 // Called when a request to bind |interface_name| on |interface_pipe| is
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 virtual bool ShouldRedirectDOMStorageTaskRunner(); 832 virtual bool ShouldRedirectDOMStorageTaskRunner();
834 833
835 // If this returns true, all BrowserThreads (but UI/IO) that support it on 834 // If this returns true, all BrowserThreads (but UI/IO) that support it on
836 // this platform will experimentally be redirected to TaskScheduler. 835 // this platform will experimentally be redirected to TaskScheduler.
837 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 836 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
838 }; 837 };
839 838
840 } // namespace content 839 } // namespace content
841 840
842 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 841 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_interface_proxy.cc ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698