| 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 | 23 |
| 24 namespace base { |
| 25 class PrefService; |
| 26 } |
| 27 |
| 24 namespace content { | 28 namespace content { |
| 25 class ResourceContext; | 29 class ResourceContext; |
| 26 class WebContents; | 30 class WebContents; |
| 27 } | 31 } |
| 28 | 32 |
| 29 namespace net { | 33 namespace net { |
| 30 class CookieStore; | 34 class CookieStore; |
| 31 } | 35 } |
| 32 | 36 |
| 33 namespace visitedlink { | 37 namespace visitedlink { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 scoped_refptr<content::GeolocationPermissionContext> | 123 scoped_refptr<content::GeolocationPermissionContext> |
| 120 geolocation_permission_context_; | 124 geolocation_permission_context_; |
| 121 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; | 125 scoped_refptr<AwQuotaManagerBridge> quota_manager_bridge_; |
| 122 scoped_ptr<AwFormDatabaseService> form_database_service_; | 126 scoped_ptr<AwFormDatabaseService> form_database_service_; |
| 123 | 127 |
| 124 AwDownloadManagerDelegate download_manager_delegate_; | 128 AwDownloadManagerDelegate download_manager_delegate_; |
| 125 | 129 |
| 126 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; | 130 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; |
| 127 scoped_ptr<content::ResourceContext> resource_context_; | 131 scoped_ptr<content::ResourceContext> resource_context_; |
| 128 | 132 |
| 129 bool user_pref_service_ready_; | 133 scoped_ptr<PrefService> user_pref_service_; |
| 130 | 134 |
| 131 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 135 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 132 }; | 136 }; |
| 133 | 137 |
| 134 } // namespace android_webview | 138 } // namespace android_webview |
| 135 | 139 |
| 136 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 140 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |