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 void GetTemporaryStorageConfiguration( | |
174 content::BrowserContext* context, | |
175 const base::FilePath& partition_path, bool is_incognito, | |
176 const storage::TemporaryStorageConfigurationCallback& callback) override; | |
kinuko
2016/07/28 15:49:17
nit: too many spaces before override
michaeln
2016/10/14 23:51:48
Done.
| |
177 | |
171 void AllowCertificateError( | 178 void AllowCertificateError( |
172 content::WebContents* web_contents, | 179 content::WebContents* web_contents, |
173 int cert_error, | 180 int cert_error, |
174 const net::SSLInfo& ssl_info, | 181 const net::SSLInfo& ssl_info, |
175 const GURL& request_url, | 182 const GURL& request_url, |
176 content::ResourceType resource_type, | 183 content::ResourceType resource_type, |
177 bool overridable, | 184 bool overridable, |
178 bool strict_enforcement, | 185 bool strict_enforcement, |
179 bool expired_previous_decision, | 186 bool expired_previous_decision, |
180 const base::Callback<void(bool)>& callback, | 187 const base::Callback<void(bool)>& callback, |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
343 // Vector of additional ChromeContentBrowserClientParts. | 350 // Vector of additional ChromeContentBrowserClientParts. |
344 // Parts are deleted in the reverse order they are added. | 351 // Parts are deleted in the reverse order they are added. |
345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 352 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
346 | 353 |
347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 354 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
348 | 355 |
349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 356 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
350 }; | 357 }; |
351 | 358 |
352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 359 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |