OLD | NEW |
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 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 const GURL& url, | 65 const GURL& url, |
66 content::ResourceContext* context, | 66 content::ResourceContext* context, |
67 const std::vector<std::pair<int, int>>& render_frames, | 67 const std::vector<std::pair<int, int>>& render_frames, |
68 base::Callback<void(bool)> callback) override; | 68 base::Callback<void(bool)> callback) override; |
69 bool AllowWorkerIndexedDB( | 69 bool AllowWorkerIndexedDB( |
70 const GURL& url, | 70 const GURL& url, |
71 const base::string16& name, | 71 const base::string16& name, |
72 content::ResourceContext* context, | 72 content::ResourceContext* context, |
73 const std::vector<std::pair<int, int>>& render_frames) override; | 73 const std::vector<std::pair<int, int>>& render_frames) override; |
74 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 74 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 75 void GetQuotaSettings( |
| 76 content::BrowserContext* context, |
| 77 content::StoragePartition* partition, |
| 78 const storage::OptionalQuotaSettingsCallback& callback) override; |
75 void AllowCertificateError( | 79 void AllowCertificateError( |
76 content::WebContents* web_contents, | 80 content::WebContents* web_contents, |
77 int cert_error, | 81 int cert_error, |
78 const net::SSLInfo& ssl_info, | 82 const net::SSLInfo& ssl_info, |
79 const GURL& request_url, | 83 const GURL& request_url, |
80 content::ResourceType resource_type, | 84 content::ResourceType resource_type, |
81 bool overridable, | 85 bool overridable, |
82 bool strict_enforcement, | 86 bool strict_enforcement, |
83 bool expired_previous_decision, | 87 bool expired_previous_decision, |
84 const base::Callback<void(content::CertificateRequestResultType)>& | 88 const base::Callback<void(content::CertificateRequestResultType)>& |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
141 | 145 |
142 JniDependencyFactory* native_factory_; | 146 JniDependencyFactory* native_factory_; |
143 | 147 |
144 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
145 }; | 149 }; |
146 | 150 |
147 } // namespace android_webview | 151 } // namespace android_webview |
148 | 152 |
149 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |