| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // Vector of additional ChromeContentBrowserClientParts. | 368 // Vector of additional ChromeContentBrowserClientParts. |
| 370 // Parts are deleted in the reverse order they are added. | 369 // Parts are deleted in the reverse order they are added. |
| 371 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 370 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 372 | 371 |
| 373 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 372 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 374 | 373 |
| 375 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 374 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 376 }; | 375 }; |
| 377 | 376 |
| 378 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 377 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |