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

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

Powered by Google App Engine
This is Rietveld 408576698