| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 GetWebBluetoothBlacklist() 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 |
| 172 std::unique_ptr<storage::QuotaEvictionPolicy> | 173 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 173 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; | 174 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; |
| 175 |
| 176 void GetQuotaSettings( |
| 177 content::BrowserContext* context, |
| 178 content::StoragePartition* partition, |
| 179 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 180 |
| 174 void AllowCertificateError( | 181 void AllowCertificateError( |
| 175 content::WebContents* web_contents, | 182 content::WebContents* web_contents, |
| 176 int cert_error, | 183 int cert_error, |
| 177 const net::SSLInfo& ssl_info, | 184 const net::SSLInfo& ssl_info, |
| 178 const GURL& request_url, | 185 const GURL& request_url, |
| 179 content::ResourceType resource_type, | 186 content::ResourceType resource_type, |
| 180 bool overridable, | 187 bool overridable, |
| 181 bool strict_enforcement, | 188 bool strict_enforcement, |
| 182 bool expired_previous_decision, | 189 bool expired_previous_decision, |
| 183 const base::Callback<void(content::CertificateRequestResultType)>& | 190 const base::Callback<void(content::CertificateRequestResultType)>& |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // Vector of additional ChromeContentBrowserClientParts. | 361 // Vector of additional ChromeContentBrowserClientParts. |
| 355 // Parts are deleted in the reverse order they are added. | 362 // Parts are deleted in the reverse order they are added. |
| 356 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 363 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 357 | 364 |
| 358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 365 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 359 | 366 |
| 360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 367 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 361 }; | 368 }; |
| 362 | 369 |
| 363 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 370 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |