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