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

Side by Side Diff: android_webview/browser/aw_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: compile (payment unittests) 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
« no previous file with comments | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
michaeln 2016/12/06 00:35:55 The settings were chosen such that new behavior sh
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "android_webview/browser/aw_web_preferences_populater.h" 12 #include "android_webview/browser/aw_web_preferences_populater.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "content/public/browser/content_browser_client.h" 15 #include "content/public/browser/content_browser_client.h"
16 16
17 namespace android_webview { 17 namespace android_webview {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const GURL& url, 67 const GURL& url,
68 content::ResourceContext* context, 68 content::ResourceContext* context,
69 const std::vector<std::pair<int, int>>& render_frames, 69 const std::vector<std::pair<int, int>>& render_frames,
70 base::Callback<void(bool)> callback) override; 70 base::Callback<void(bool)> callback) override;
71 bool AllowWorkerIndexedDB( 71 bool AllowWorkerIndexedDB(
72 const GURL& url, 72 const GURL& url,
73 const base::string16& name, 73 const base::string16& name,
74 content::ResourceContext* context, 74 content::ResourceContext* context,
75 const std::vector<std::pair<int, int>>& render_frames) override; 75 const std::vector<std::pair<int, int>>& render_frames) override;
76 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 76 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
77 void GetQuotaSettings(
78 content::BrowserContext* context,
79 content::StoragePartition* partition,
80 const storage::OptionalQuotaSettingsCallback& callback) override;
77 void AllowCertificateError( 81 void AllowCertificateError(
78 content::WebContents* web_contents, 82 content::WebContents* web_contents,
79 int cert_error, 83 int cert_error,
80 const net::SSLInfo& ssl_info, 84 const net::SSLInfo& ssl_info,
81 const GURL& request_url, 85 const GURL& request_url,
82 content::ResourceType resource_type, 86 content::ResourceType resource_type,
83 bool overridable, 87 bool overridable,
84 bool strict_enforcement, 88 bool strict_enforcement,
85 bool expired_previous_decision, 89 bool expired_previous_decision,
86 const base::Callback<void(content::CertificateRequestResultType)>& 90 const base::Callback<void(content::CertificateRequestResultType)>&
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 147 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
144 148
145 JniDependencyFactory* native_factory_; 149 JniDependencyFactory* native_factory_;
146 150
147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 151 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
148 }; 152 };
149 153
150 } // namespace android_webview 154 } // namespace android_webview
151 155
152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 156 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698