Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698