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

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

Powered by Google App Engine
This is Rietveld 408576698