| 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_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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |