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

Side by Side Diff: android_webview/browser/aw_browser_context.cc

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken include Created 6 years, 4 months 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 | Annotate | Revision Log
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 #include "android_webview/browser/aw_browser_context.h" 5 #include "android_webview/browser/aw_browser_context.h"
6 6
7 #include "android_webview/browser/aw_form_database_service.h" 7 #include "android_webview/browser/aw_form_database_service.h"
8 #include "android_webview/browser/aw_pref_store.h" 8 #include "android_webview/browser/aw_pref_store.h"
9 #include "android_webview/browser/aw_quota_manager_bridge.h" 9 #include "android_webview/browser/aw_quota_manager_bridge.h"
10 #include "android_webview/browser/aw_resource_context.h" 10 #include "android_webview/browser/aw_resource_context.h"
11 #include "android_webview/browser/jni_dependency_factory.h" 11 #include "android_webview/browser/jni_dependency_factory.h"
12 #include "android_webview/browser/net/aw_url_request_context_getter.h" 12 #include "android_webview/browser/net/aw_url_request_context_getter.h"
13 #include "android_webview/browser/net/init_native_callback.h" 13 #include "android_webview/browser/net/init_native_callback.h"
14 #include "base/prefs/pref_registry_simple.h" 14 #include "base/prefs/pref_registry_simple.h"
15 #include "base/prefs/pref_service.h" 15 #include "base/prefs/pref_service.h"
16 #include "base/prefs/pref_service_factory.h" 16 #include "base/prefs/pref_service_factory.h"
17 #include "components/autofill/core/common/autofill_pref_names.h" 17 #include "components/autofill/core/common/autofill_pref_names.h"
18 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h" 18 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h"
19 #include "components/data_reduction_proxy/browser/data_reduction_proxy_config_se rvice.h" 19 #include "components/data_reduction_proxy/browser/data_reduction_proxy_config_se rvice.h"
20 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" 20 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h"
21 #include "components/data_reduction_proxy/browser/data_reduction_proxy_prefs.h" 21 #include "components/data_reduction_proxy/browser/data_reduction_proxy_prefs.h"
22 #include "components/data_reduction_proxy/browser/data_reduction_proxy_settings. h" 22 #include "components/data_reduction_proxy/browser/data_reduction_proxy_settings. h"
23 #include "components/user_prefs/user_prefs.h" 23 #include "components/user_prefs/user_prefs.h"
24 #include "components/visitedlink/browser/visitedlink_master.h" 24 #include "components/visitedlink/browser/visitedlink_master.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/browser/ssl_host_state_delegate.h"
26 #include "content/public/browser/storage_partition.h" 27 #include "content/public/browser/storage_partition.h"
27 #include "content/public/browser/web_contents.h" 28 #include "content/public/browser/web_contents.h"
28 #include "net/cookies/cookie_store.h" 29 #include "net/cookies/cookie_store.h"
29 30
30 using base::FilePath; 31 using base::FilePath;
31 using content::BrowserThread; 32 using content::BrowserThread;
32 using data_reduction_proxy::DataReductionProxyAuthRequestHandler; 33 using data_reduction_proxy::DataReductionProxyAuthRequestHandler;
33 using data_reduction_proxy::DataReductionProxySettings; 34 using data_reduction_proxy::DataReductionProxySettings;
34 35
35 namespace android_webview { 36 namespace android_webview {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { 268 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() {
268 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. 269 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported.
269 return NULL; 270 return NULL;
270 } 271 }
271 272
272 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { 273 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() {
273 // TODO(johnme): Support push messaging in WebView. 274 // TODO(johnme): Support push messaging in WebView.
274 return NULL; 275 return NULL;
275 } 276 }
276 277
278 content::SSLHostStateDelegate* AwBrowserContext::GetSSLHostStateDelegate() {
279 return NULL;
280 }
281
277 void AwBrowserContext::RebuildTable( 282 void AwBrowserContext::RebuildTable(
278 const scoped_refptr<URLEnumerator>& enumerator) { 283 const scoped_refptr<URLEnumerator>& enumerator) {
279 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client 284 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client
280 // can change in the lifetime of this WebView and may not yet be set here. 285 // can change in the lifetime of this WebView and may not yet be set here.
281 // Therefore this initialization path is not used. 286 // Therefore this initialization path is not used.
282 enumerator->OnComplete(true); 287 enumerator->OnComplete(true);
283 } 288 }
284 289
285 } // namespace android_webview 290 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698