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 "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 content::ResourceContext* context, | 84 content::ResourceContext* context, |
85 const std::vector<std::pair<int, int>>& render_frames, | 85 const std::vector<std::pair<int, int>>& render_frames, |
86 base::Callback<void(bool)> callback) override; | 86 base::Callback<void(bool)> callback) override; |
87 bool AllowWorkerIndexedDB( | 87 bool AllowWorkerIndexedDB( |
88 const GURL& url, | 88 const GURL& url, |
89 const base::string16& name, | 89 const base::string16& name, |
90 content::ResourceContext* context, | 90 content::ResourceContext* context, |
91 const std::vector<std::pair<int, int>>& render_frames) override; | 91 const std::vector<std::pair<int, int>>& render_frames) override; |
92 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 92 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
93 void AllowCertificateError( | 93 void AllowCertificateError( |
94 int render_process_id, | 94 content::WebContents* web_contents, |
95 int render_frame_id, | |
96 int cert_error, | 95 int cert_error, |
97 const net::SSLInfo& ssl_info, | 96 const net::SSLInfo& ssl_info, |
98 const GURL& request_url, | 97 const GURL& request_url, |
99 content::ResourceType resource_type, | 98 content::ResourceType resource_type, |
100 bool overridable, | 99 bool overridable, |
101 bool strict_enforcement, | 100 bool strict_enforcement, |
102 bool expired_previous_decision, | 101 bool expired_previous_decision, |
103 const base::Callback<void(bool)>& callback, | 102 const base::Callback<void(bool)>& callback, |
104 content::CertificateRequestResultType* result) override; | 103 content::CertificateRequestResultType* result) override; |
105 void SelectClientCertificate( | 104 void SelectClientCertificate( |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 156 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
158 | 157 |
159 JniDependencyFactory* native_factory_; | 158 JniDependencyFactory* native_factory_; |
160 | 159 |
161 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 160 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
162 }; | 161 }; |
163 | 162 |
164 } // namespace android_webview | 163 } // namespace android_webview |
165 | 164 |
166 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 165 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |