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

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

Powered by Google App Engine
This is Rietveld 408576698