| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 bool AllowWorkerIndexedDB( | 154 bool AllowWorkerIndexedDB( |
| 155 const GURL& url, | 155 const GURL& url, |
| 156 const base::string16& name, | 156 const base::string16& name, |
| 157 content::ResourceContext* context, | 157 content::ResourceContext* context, |
| 158 const std::vector<std::pair<int, int>>& render_frames) override; | 158 const std::vector<std::pair<int, int>>& render_frames) override; |
| 159 #if BUILDFLAG(ENABLE_WEBRTC) | 159 #if BUILDFLAG(ENABLE_WEBRTC) |
| 160 bool AllowWebRTCIdentityCache(const GURL& url, | 160 bool AllowWebRTCIdentityCache(const GURL& url, |
| 161 const GURL& first_party_url, | 161 const GURL& first_party_url, |
| 162 content::ResourceContext* context) override; | 162 content::ResourceContext* context) override; |
| 163 #endif // BUILDFLAG(ENABLE_WEBRTC) | 163 #endif // BUILDFLAG(ENABLE_WEBRTC) |
| 164 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | |
| 165 AllowWebBluetoothResult AllowWebBluetooth( | 164 AllowWebBluetoothResult AllowWebBluetooth( |
| 166 content::BrowserContext* browser_context, | 165 content::BrowserContext* browser_context, |
| 167 const url::Origin& requesting_origin, | 166 const url::Origin& requesting_origin, |
| 168 const url::Origin& embedding_origin) override; | 167 const url::Origin& embedding_origin) override; |
| 169 std::string GetWebBluetoothBlocklist() override; | 168 std::string GetWebBluetoothBlocklist() override; |
| 170 net::URLRequestContext* OverrideRequestContextForURL( | 169 net::URLRequestContext* OverrideRequestContextForURL( |
| 171 const GURL& url, | 170 const GURL& url, |
| 172 content::ResourceContext* context) override; | 171 content::ResourceContext* context) override; |
| 173 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 172 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 174 std::unique_ptr<storage::QuotaEvictionPolicy> | 173 std::unique_ptr<storage::QuotaEvictionPolicy> |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 // Vector of additional ChromeContentBrowserClientParts. | 360 // Vector of additional ChromeContentBrowserClientParts. |
| 362 // Parts are deleted in the reverse order they are added. | 361 // Parts are deleted in the reverse order they are added. |
| 363 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 362 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 364 | 363 |
| 365 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 364 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 366 | 365 |
| 367 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 366 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 368 }; | 367 }; |
| 369 | 368 |
| 370 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 369 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |