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