| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | 159 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
| 160 AllowWebBluetoothResult AllowWebBluetooth( | 160 AllowWebBluetoothResult AllowWebBluetooth( |
| 161 content::BrowserContext* browser_context, | 161 content::BrowserContext* browser_context, |
| 162 const url::Origin& requesting_origin, | 162 const url::Origin& requesting_origin, |
| 163 const url::Origin& embedding_origin) override; | 163 const url::Origin& embedding_origin) override; |
| 164 std::string GetWebBluetoothBlacklist() override; | 164 std::string GetWebBluetoothBlacklist() override; |
| 165 net::URLRequestContext* OverrideRequestContextForURL( | 165 net::URLRequestContext* OverrideRequestContextForURL( |
| 166 const GURL& url, | 166 const GURL& url, |
| 167 content::ResourceContext* context) override; | 167 content::ResourceContext* context) override; |
| 168 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 168 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 169 |
| 169 std::unique_ptr<storage::QuotaEvictionPolicy> | 170 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 170 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; | 171 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; |
| 172 |
| 173 storage::GetTemporaryStorageConfigurationFunc |
| 174 GetTemporaryStorageConfigurationFunction(content::BrowserContext* context) |
| 175 override; |
| 176 |
| 171 void AllowCertificateError( | 177 void AllowCertificateError( |
| 172 content::WebContents* web_contents, | 178 content::WebContents* web_contents, |
| 173 int cert_error, | 179 int cert_error, |
| 174 const net::SSLInfo& ssl_info, | 180 const net::SSLInfo& ssl_info, |
| 175 const GURL& request_url, | 181 const GURL& request_url, |
| 176 content::ResourceType resource_type, | 182 content::ResourceType resource_type, |
| 177 bool overridable, | 183 bool overridable, |
| 178 bool strict_enforcement, | 184 bool strict_enforcement, |
| 179 bool expired_previous_decision, | 185 bool expired_previous_decision, |
| 180 const base::Callback<void(bool)>& callback, | 186 const base::Callback<void(bool)>& callback, |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 // Vector of additional ChromeContentBrowserClientParts. | 349 // Vector of additional ChromeContentBrowserClientParts. |
| 344 // Parts are deleted in the reverse order they are added. | 350 // Parts are deleted in the reverse order they are added. |
| 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 351 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 346 | 352 |
| 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 353 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 348 | 354 |
| 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 355 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 350 }; | 356 }; |
| 351 | 357 |
| 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 358 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |