| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 class QuotaPermissionContext; | 122 class QuotaPermissionContext; |
| 123 class ReceiverPresentationServiceDelegate; | 123 class ReceiverPresentationServiceDelegate; |
| 124 class RenderFrameHost; | 124 class RenderFrameHost; |
| 125 class RenderProcessHost; | 125 class RenderProcessHost; |
| 126 class RenderViewHost; | 126 class RenderViewHost; |
| 127 class ResourceContext; | 127 class ResourceContext; |
| 128 class SiteInstance; | 128 class SiteInstance; |
| 129 class SpeechRecognitionManagerDelegate; | 129 class SpeechRecognitionManagerDelegate; |
| 130 class StoragePartition; | 130 class StoragePartition; |
| 131 class TracingDelegate; | 131 class TracingDelegate; |
| 132 class URLLoaderThrottle; |
| 132 class VpnServiceProxy; | 133 class VpnServiceProxy; |
| 133 class WebContents; | 134 class WebContents; |
| 134 class WebContentsViewDelegate; | 135 class WebContentsViewDelegate; |
| 135 struct MainFunctionParams; | 136 struct MainFunctionParams; |
| 136 struct OpenURLParams; | 137 struct OpenURLParams; |
| 137 struct Referrer; | 138 struct Referrer; |
| 138 struct WebPreferences; | 139 struct WebPreferences; |
| 139 | 140 |
| 140 // Embedder API (or SPI) for participating in browser logic, to be implemented | 141 // Embedder API (or SPI) for participating in browser logic, to be implemented |
| 141 // by the client of the content browser. See ChromeContentBrowserClient for the | 142 // by the client of the content browser. See ChromeContentBrowserClient for the |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 media::mojom::RemotingSourcePtr source, | 790 media::mojom::RemotingSourcePtr source, |
| 790 media::mojom::RemoterRequest request) {} | 791 media::mojom::RemoterRequest request) {} |
| 791 | 792 |
| 792 // Returns the RapporService from the browser process. | 793 // Returns the RapporService from the browser process. |
| 793 virtual ::rappor::RapporService* GetRapporService(); | 794 virtual ::rappor::RapporService* GetRapporService(); |
| 794 | 795 |
| 795 // Provides parameters for initializing the global task scheduler. Default | 796 // Provides parameters for initializing the global task scheduler. Default |
| 796 // params are used if this returns nullptr. | 797 // params are used if this returns nullptr. |
| 797 virtual std::unique_ptr<base::TaskScheduler::InitParams> | 798 virtual std::unique_ptr<base::TaskScheduler::InitParams> |
| 798 GetTaskSchedulerInitParams(); | 799 GetTaskSchedulerInitParams(); |
| 800 |
| 801 // Allows the embedder to register one or more URLLoaderThrottles for a |
| 802 // URL request. This is used only when --enable-network-service is in effect. |
| 803 // This is called on the IO thread. |
| 804 virtual std::vector<std::unique_ptr<URLLoaderThrottle>> |
| 805 CreateURLLoaderThrottles(const base::Callback<WebContents*()>& wc_getter); |
| 799 }; | 806 }; |
| 800 | 807 |
| 801 } // namespace content | 808 } // namespace content |
| 802 | 809 |
| 803 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 810 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |