| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 #if defined(ENABLE_WEBRTC) | 157 #if defined(ENABLE_WEBRTC) |
| 158 bool AllowWebRTCIdentityCache(const GURL& url, | 158 bool AllowWebRTCIdentityCache(const GURL& url, |
| 159 const GURL& first_party_url, | 159 const GURL& first_party_url, |
| 160 content::ResourceContext* context) override; | 160 content::ResourceContext* context) override; |
| 161 #endif // defined(ENABLE_WEBRTC) | 161 #endif // defined(ENABLE_WEBRTC) |
| 162 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | 162 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
| 163 AllowWebBluetoothResult AllowWebBluetooth( | 163 AllowWebBluetoothResult AllowWebBluetooth( |
| 164 content::BrowserContext* browser_context, | 164 content::BrowserContext* browser_context, |
| 165 const url::Origin& requesting_origin, | 165 const url::Origin& requesting_origin, |
| 166 const url::Origin& embedding_origin) override; | 166 const url::Origin& embedding_origin) override; |
| 167 std::string GetWebBluetoothBlacklist() override; | 167 std::string GetWebBluetoothBlocklist() override; |
| 168 net::URLRequestContext* OverrideRequestContextForURL( | 168 net::URLRequestContext* OverrideRequestContextForURL( |
| 169 const GURL& url, | 169 const GURL& url, |
| 170 content::ResourceContext* context) override; | 170 content::ResourceContext* context) override; |
| 171 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 171 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 172 std::unique_ptr<storage::QuotaEvictionPolicy> | 172 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 173 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; | 173 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; |
| 174 void AllowCertificateError( | 174 void AllowCertificateError( |
| 175 content::WebContents* web_contents, | 175 content::WebContents* web_contents, |
| 176 int cert_error, | 176 int cert_error, |
| 177 const net::SSLInfo& ssl_info, | 177 const net::SSLInfo& ssl_info, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // Vector of additional ChromeContentBrowserClientParts. | 354 // Vector of additional ChromeContentBrowserClientParts. |
| 355 // Parts are deleted in the reverse order they are added. | 355 // Parts are deleted in the reverse order they are added. |
| 356 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 356 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 357 | 357 |
| 358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 359 | 359 |
| 360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 361 }; | 361 }; |
| 362 | 362 |
| 363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |