| 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_BROWSER_AW_BROWSER_CONTEXT_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "android_webview/browser/aw_autofill_manager_delegate.h" | |
| 11 #include "android_webview/browser/aw_download_manager_delegate.h" | 10 #include "android_webview/browser/aw_download_manager_delegate.h" |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 17 #include "components/visitedlink/browser/visitedlink_delegate.h" | 16 #include "components/visitedlink/browser/visitedlink_delegate.h" |
| 18 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
| 19 #include "content/public/browser/content_browser_client.h" | 18 #include "content/public/browser/content_browser_client.h" |
| 20 #include "content/public/browser/geolocation_permission_context.h" | 19 #include "content/public/browser/geolocation_permission_context.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 private: | 102 private: |
| 104 // The file path where data for this context is persisted. | 103 // The file path where data for this context is persisted. |
| 105 base::FilePath context_storage_path_; | 104 base::FilePath context_storage_path_; |
| 106 | 105 |
| 107 JniDependencyFactory* native_factory_; | 106 JniDependencyFactory* native_factory_; |
| 108 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; | 107 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; |
| 109 scoped_refptr<content::GeolocationPermissionContext> | 108 scoped_refptr<content::GeolocationPermissionContext> |
| 110 geolocation_permission_context_; | 109 geolocation_permission_context_; |
| 111 scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_; | 110 scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_; |
| 112 scoped_ptr<AwFormDatabaseService> form_database_service_; | 111 scoped_ptr<AwFormDatabaseService> form_database_service_; |
| 113 scoped_ptr<AwAutofillManagerDelegate> autofill_manager_delegate_; | |
| 114 | 112 |
| 115 AwDownloadManagerDelegate download_manager_delegate_; | 113 AwDownloadManagerDelegate download_manager_delegate_; |
| 116 | 114 |
| 117 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 115 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
| 118 scoped_ptr<content::ResourceContext> resource_context_; | 116 scoped_ptr<content::ResourceContext> resource_context_; |
| 119 | 117 |
| 120 bool user_pref_service_ready_; | 118 bool user_pref_service_ready_; |
| 121 | 119 |
| 122 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 120 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 123 }; | 121 }; |
| 124 | 122 |
| 125 } // namespace android_webview | 123 } // namespace android_webview |
| 126 | 124 |
| 127 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 125 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |