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