| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; | 160 bool AllowKeygen(const GURL& url, content::ResourceContext* context) override; |
| 161 AllowWebBluetoothResult AllowWebBluetooth( | 161 AllowWebBluetoothResult AllowWebBluetooth( |
| 162 content::BrowserContext* browser_context, | 162 content::BrowserContext* browser_context, |
| 163 const url::Origin& requesting_origin, | 163 const url::Origin& requesting_origin, |
| 164 const url::Origin& embedding_origin) override; | 164 const url::Origin& embedding_origin) override; |
| 165 std::string GetWebBluetoothBlacklist() override; | 165 std::string GetWebBluetoothBlacklist() override; |
| 166 net::URLRequestContext* OverrideRequestContextForURL( | 166 net::URLRequestContext* OverrideRequestContextForURL( |
| 167 const GURL& url, | 167 const GURL& url, |
| 168 content::ResourceContext* context) override; | 168 content::ResourceContext* context) override; |
| 169 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 169 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 170 |
| 170 std::unique_ptr<storage::QuotaEvictionPolicy> | 171 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 171 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; | 172 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context) override; |
| 173 |
| 174 void GetQuotaSettings( |
| 175 content::BrowserContext* context, |
| 176 const base::FilePath& partition_path, |
| 177 bool is_incognito, |
| 178 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 179 |
| 172 void AllowCertificateError( | 180 void AllowCertificateError( |
| 173 content::WebContents* web_contents, | 181 content::WebContents* web_contents, |
| 174 int cert_error, | 182 int cert_error, |
| 175 const net::SSLInfo& ssl_info, | 183 const net::SSLInfo& ssl_info, |
| 176 const GURL& request_url, | 184 const GURL& request_url, |
| 177 content::ResourceType resource_type, | 185 content::ResourceType resource_type, |
| 178 bool overridable, | 186 bool overridable, |
| 179 bool strict_enforcement, | 187 bool strict_enforcement, |
| 180 bool expired_previous_decision, | 188 bool expired_previous_decision, |
| 181 const base::Callback<void(content::CertificateRequestResultType)>& | 189 const base::Callback<void(content::CertificateRequestResultType)>& |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // Vector of additional ChromeContentBrowserClientParts. | 360 // Vector of additional ChromeContentBrowserClientParts. |
| 353 // Parts are deleted in the reverse order they are added. | 361 // Parts are deleted in the reverse order they are added. |
| 354 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 362 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 355 | 363 |
| 356 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 364 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 357 | 365 |
| 358 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 366 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 359 }; | 367 }; |
| 360 | 368 |
| 361 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 369 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |