| 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 #include "android_webview/browser/aw_browser_context.h" | 5 #include "android_webview/browser/aw_browser_context.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "android_webview/browser/aw_browser_policy_connector.h" | 9 #include "android_webview/browser/aw_browser_policy_connector.h" |
| 10 #include "android_webview/browser/aw_form_database_service.h" | 10 #include "android_webview/browser/aw_form_database_service.h" |
| 11 #include "android_webview/browser/aw_metrics_service_client.h" | 11 #include "android_webview/browser/aw_metrics_service_client.h" |
| 12 #include "android_webview/browser/aw_permission_manager.h" | 12 #include "android_webview/browser/aw_permission_manager.h" |
| 13 #include "android_webview/browser/aw_quota_manager_bridge.h" | 13 #include "android_webview/browser/aw_quota_manager_bridge.h" |
| 14 #include "android_webview/browser/aw_resource_context.h" | 14 #include "android_webview/browser/aw_resource_context.h" |
| 15 #include "android_webview/browser/jni_dependency_factory.h" | 15 #include "android_webview/browser/jni_dependency_factory.h" |
| 16 #include "android_webview/browser/net/aw_url_request_context_getter.h" | 16 #include "android_webview/browser/net/aw_url_request_context_getter.h" |
| 17 #include "android_webview/common/aw_content_client.h" | 17 #include "android_webview/common/aw_content_client.h" |
| 18 #include "base/base_paths_android.h" | 18 #include "base/base_paths_android.h" |
| 19 #include "base/bind.h" | 19 #include "base/bind.h" |
| 20 #include "base/files/file_util.h" |
| 20 #include "base/path_service.h" | 21 #include "base/path_service.h" |
| 21 #include "components/autofill/core/common/autofill_pref_names.h" | 22 #include "components/autofill/core/common/autofill_pref_names.h" |
| 22 #include "components/metrics/metrics_service.h" | 23 #include "components/metrics/metrics_service.h" |
| 23 #include "components/policy/core/browser/browser_policy_connector_base.h" | 24 #include "components/policy/core/browser/browser_policy_connector_base.h" |
| 24 #include "components/policy/core/browser/configuration_policy_pref_store.h" | 25 #include "components/policy/core/browser/configuration_policy_pref_store.h" |
| 25 #include "components/policy/core/browser/url_blacklist_manager.h" | 26 #include "components/policy/core/browser/url_blacklist_manager.h" |
| 26 #include "components/pref_registry/pref_registry_syncable.h" | 27 #include "components/pref_registry/pref_registry_syncable.h" |
| 27 #include "components/prefs/in_memory_pref_store.h" | 28 #include "components/prefs/in_memory_pref_store.h" |
| 28 #include "components/prefs/pref_service.h" | 29 #include "components/prefs/pref_service.h" |
| 29 #include "components/prefs/pref_service_factory.h" | 30 #include "components/prefs/pref_service_factory.h" |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 | 390 |
| 390 void AwBrowserContext::RebuildTable( | 391 void AwBrowserContext::RebuildTable( |
| 391 const scoped_refptr<URLEnumerator>& enumerator) { | 392 const scoped_refptr<URLEnumerator>& enumerator) { |
| 392 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 393 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
| 393 // can change in the lifetime of this WebView and may not yet be set here. | 394 // can change in the lifetime of this WebView and may not yet be set here. |
| 394 // Therefore this initialization path is not used. | 395 // Therefore this initialization path is not used. |
| 395 enumerator->OnComplete(true); | 396 enumerator->OnComplete(true); |
| 396 } | 397 } |
| 397 | 398 |
| 398 } // namespace android_webview | 399 } // namespace android_webview |
| OLD | NEW |