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_download_manager_delegate.h" | 10 #include "android_webview/browser/aw_download_manager_delegate.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 private: | 106 private: |
107 // The file path where data for this context is persisted. | 107 // The file path where data for this context is persisted. |
108 base::FilePath context_storage_path_; | 108 base::FilePath context_storage_path_; |
109 | 109 |
110 JniDependencyFactory* native_factory_; | 110 JniDependencyFactory* native_factory_; |
111 scoped_refptr<net::CookieStore> cookie_store_; | 111 scoped_refptr<net::CookieStore> cookie_store_; |
112 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; | 112 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; |
113 scoped_refptr<content::GeolocationPermissionContext> | 113 scoped_refptr<content::GeolocationPermissionContext> |
114 geolocation_permission_context_; | 114 geolocation_permission_context_; |
115 scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_; | 115 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; |
116 scoped_ptr<AwFormDatabaseService> form_database_service_; | 116 scoped_ptr<AwFormDatabaseService> form_database_service_; |
117 | 117 |
118 AwDownloadManagerDelegate download_manager_delegate_; | 118 AwDownloadManagerDelegate download_manager_delegate_; |
119 | 119 |
120 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 120 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
121 scoped_ptr<content::ResourceContext> resource_context_; | 121 scoped_ptr<content::ResourceContext> resource_context_; |
122 | 122 |
123 bool user_pref_service_ready_; | 123 bool user_pref_service_ready_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace android_webview | 128 } // namespace android_webview |
129 | 129 |
130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |