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" |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "components/visitedlink/browser/visitedlink_delegate.h" | 16 #include "components/visitedlink/browser/visitedlink_delegate.h" |
17 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
18 #include "content/public/browser/content_browser_client.h" | 18 #include "content/public/browser/content_browser_client.h" |
19 #include "content/public/browser/geolocation_permission_context.h" | 19 #include "content/public/browser/geolocation_permission_context.h" |
20 #include "net/url_request/url_request_job_factory.h" | 20 #include "net/url_request/url_request_job_factory.h" |
21 | 21 |
22 class GURL; | 22 class GURL; |
| 23 class PrefService; |
23 | 24 |
24 namespace content { | 25 namespace content { |
25 class ResourceContext; | 26 class ResourceContext; |
26 class WebContents; | 27 class WebContents; |
27 } | 28 } |
28 | 29 |
29 namespace net { | 30 namespace net { |
30 class CookieStore; | 31 class CookieStore; |
31 } | 32 } |
32 | 33 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 scoped_refptr<content::GeolocationPermissionContext> | 120 scoped_refptr<content::GeolocationPermissionContext> |
120 geolocation_permission_context_; | 121 geolocation_permission_context_; |
121 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; | 122 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; |
122 scoped_ptr<AwFormDatabaseService> form_database_service_; | 123 scoped_ptr<AwFormDatabaseService> form_database_service_; |
123 | 124 |
124 AwDownloadManagerDelegate download_manager_delegate_; | 125 AwDownloadManagerDelegate download_manager_delegate_; |
125 | 126 |
126 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 127 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
127 scoped_ptr<content::ResourceContext> resource_context_; | 128 scoped_ptr<content::ResourceContext> resource_context_; |
128 | 129 |
129 bool user_pref_service_ready_; | 130 scoped_ptr<PrefService> user_pref_service_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 132 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
132 }; | 133 }; |
133 | 134 |
134 } // namespace android_webview | 135 } // namespace android_webview |
135 | 136 |
136 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 137 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |