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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const base::FilePath& partition_path, |
| 80 bool is_incognito, |
| 81 const storage::OptionalQuotaSettingsCallback& callback) override; |
77 void AllowCertificateError( | 82 void AllowCertificateError( |
78 content::WebContents* web_contents, | 83 content::WebContents* web_contents, |
79 int cert_error, | 84 int cert_error, |
80 const net::SSLInfo& ssl_info, | 85 const net::SSLInfo& ssl_info, |
81 const GURL& request_url, | 86 const GURL& request_url, |
82 content::ResourceType resource_type, | 87 content::ResourceType resource_type, |
83 bool overridable, | 88 bool overridable, |
84 bool strict_enforcement, | 89 bool strict_enforcement, |
85 bool expired_previous_decision, | 90 bool expired_previous_decision, |
86 const base::Callback<void(content::CertificateRequestResultType)>& | 91 const base::Callback<void(content::CertificateRequestResultType)>& |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 145 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
141 | 146 |
142 JniDependencyFactory* native_factory_; | 147 JniDependencyFactory* native_factory_; |
143 | 148 |
144 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 149 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
145 }; | 150 }; |
146 | 151 |
147 } // namespace android_webview | 152 } // namespace android_webview |
148 | 153 |
149 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 154 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |