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

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
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 namespace gpu { 59 namespace gpu {
60 class GpuChannelEstablishFactory; 60 class GpuChannelEstablishFactory;
61 } 61 }
62 62
63 namespace media { 63 namespace media {
64 class CdmFactory; 64 class CdmFactory;
65 } 65 }
66 66
67 namespace service_manager { 67 namespace service_manager {
68 class BinderRegistry; 68 class BinderRegistry;
69 class InterfaceRegistry;
70 class Service; 69 class Service;
71 struct ServiceInfo; 70 struct ServiceInfo;
72 } 71 }
73 72
74 namespace net { 73 namespace net {
75 class CookieOptions; 74 class CookieOptions;
76 class NetLog; 75 class NetLog;
77 class SSLCertRequestInfo; 76 class SSLCertRequestInfo;
78 class SSLInfo; 77 class SSLInfo;
79 class URLRequest; 78 class URLRequest;
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 // RenderProcessHost. Note that interface factory callbacks added to 662 // RenderProcessHost. Note that interface factory callbacks added to
664 // |registry| will by default be run immediately on the IO thread, unless a 663 // |registry| will by default be run immediately on the IO thread, unless a
665 // task runner is provided. 664 // task runner is provided.
666 virtual void ExposeInterfacesToRenderer( 665 virtual void ExposeInterfacesToRenderer(
667 service_manager::BinderRegistry* registry, 666 service_manager::BinderRegistry* registry,
668 RenderProcessHost* render_process_host) {} 667 RenderProcessHost* render_process_host) {}
669 668
670 // Called when RenderFrameHostImpl connects to the Media service. Expose 669 // Called when RenderFrameHostImpl connects to the Media service. Expose
671 // interfaces to the service using |registry|. 670 // interfaces to the service using |registry|.
672 virtual void ExposeInterfacesToMediaService( 671 virtual void ExposeInterfacesToMediaService(
673 service_manager::InterfaceRegistry* registry, 672 service_manager::BinderRegistry* registry,
674 RenderFrameHost* render_frame_host) {} 673 RenderFrameHost* render_frame_host) {}
675 674
676 // Allows to register browser Mojo interfaces exposed through the 675 // Allows to register browser Mojo interfaces exposed through the
677 // RenderFrameHost. 676 // RenderFrameHost.
678 virtual void ExposeInterfacesToFrame( 677 virtual void ExposeInterfacesToFrame(
679 service_manager::BinderRegistry* registry, 678 service_manager::BinderRegistry* registry,
680 RenderFrameHost* render_frame_host) {} 679 RenderFrameHost* render_frame_host) {}
681 680
682 // (Currently called only from GPUProcessHost, move somewhere more central). 681 // (Currently called only from GPUProcessHost, move somewhere more central).
683 // Called when a request to bind |interface_name| on |interface_pipe| is 682 // Called when a request to bind |interface_name| on |interface_pipe| is
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 virtual bool ShouldRedirectDOMStorageTaskRunner(); 830 virtual bool ShouldRedirectDOMStorageTaskRunner();
832 831
833 // If this returns true, all BrowserThreads (but UI/IO) that support it on 832 // If this returns true, all BrowserThreads (but UI/IO) that support it on
834 // this platform will experimentally be redirected to TaskScheduler. 833 // this platform will experimentally be redirected to TaskScheduler.
835 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 834 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
836 }; 835 };
837 836
838 } // namespace content 837 } // namespace content
839 838
840 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 839 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698