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

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

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (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/network/network_service.cc ('k') | content/public/common/connection_filter.h » ('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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Service; 70 class Service;
71 struct ServiceInfo; 71 struct BindSourceInfo;
72 } 72 }
73 73
74 namespace net { 74 namespace net {
75 class CookieOptions; 75 class CookieOptions;
76 class NetLog; 76 class NetLog;
77 class SSLCertRequestInfo; 77 class SSLCertRequestInfo;
78 class SSLInfo; 78 class SSLInfo;
79 class URLRequest; 79 class URLRequest;
80 class URLRequestContext; 80 class URLRequestContext;
81 class X509Certificate; 81 class X509Certificate;
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // RenderFrameHost. 678 // RenderFrameHost.
679 virtual void ExposeInterfacesToFrame( 679 virtual void ExposeInterfacesToFrame(
680 service_manager::BinderRegistry* registry, 680 service_manager::BinderRegistry* registry,
681 RenderFrameHost* render_frame_host) {} 681 RenderFrameHost* render_frame_host) {}
682 682
683 // (Currently called only from GPUProcessHost, move somewhere more central). 683 // (Currently called only from GPUProcessHost, move somewhere more central).
684 // 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
685 // received from |source_info.identity|. If the request is bound, 685 // received from |source_info.identity|. If the request is bound,
686 // |interface_pipe| will become invalid (taken by the client). 686 // |interface_pipe| will become invalid (taken by the client).
687 virtual void BindInterfaceRequest( 687 virtual void BindInterfaceRequest(
688 const service_manager::ServiceInfo& source_info, 688 const service_manager::BindSourceInfo& source_info,
689 const std::string& interface_name, 689 const std::string& interface_name,
690 mojo::ScopedMessagePipeHandle* interface_pipe) {} 690 mojo::ScopedMessagePipeHandle* interface_pipe) {}
691 691
692 using StaticServiceMap = std::map<std::string, ServiceInfo>; 692 using StaticServiceMap = std::map<std::string, ServiceInfo>;
693 693
694 // Registers services to be loaded in the browser process by the Service 694 // Registers services to be loaded in the browser process by the Service
695 // Manager. 695 // Manager.
696 virtual void RegisterInProcessServices(StaticServiceMap* services) {} 696 virtual void RegisterInProcessServices(StaticServiceMap* services) {}
697 697
698 using OutOfProcessServiceMap = std::map<std::string, base::string16>; 698 using OutOfProcessServiceMap = std::map<std::string, base::string16>;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 virtual bool ShouldRedirectDOMStorageTaskRunner(); 832 virtual bool ShouldRedirectDOMStorageTaskRunner();
833 833
834 // 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
835 // this platform will experimentally be redirected to TaskScheduler. 835 // this platform will experimentally be redirected to TaskScheduler.
836 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 836 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
837 }; 837 };
838 838
839 } // namespace content 839 } // namespace content
840 840
841 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 841 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/network/network_service.cc ('k') | content/public/common/connection_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698