| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 bool in_memory, | 70 bool in_memory, |
| 71 content::ProtocolHandlerMap* protocol_handlers); | 71 content::ProtocolHandlerMap* protocol_handlers); |
| 72 | 72 |
| 73 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 73 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
| 74 | 74 |
| 75 AwFormDatabaseService* GetFormDatabaseService(); | 75 AwFormDatabaseService* GetFormDatabaseService(); |
| 76 void CreateUserPrefServiceIfNecessary(); | 76 void CreateUserPrefServiceIfNecessary(); |
| 77 | 77 |
| 78 // content::BrowserContext implementation. | 78 // content::BrowserContext implementation. |
| 79 virtual base::FilePath GetPath() const OVERRIDE; | 79 virtual base::FilePath GetPath() const OVERRIDE; |
| 80 virtual void OverrideCookieStoreConfigs( |
| 81 const base::FilePath& partition_path, |
| 82 bool in_memory_partition, |
| 83 bool is_default_partition, |
| 84 CookieSchemeMap* configs) OVERRIDE; |
| 80 virtual bool IsOffTheRecord() const OVERRIDE; | 85 virtual bool IsOffTheRecord() const OVERRIDE; |
| 81 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 86 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 82 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 87 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 83 int renderer_child_id) OVERRIDE; | 88 int renderer_child_id) OVERRIDE; |
| 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 89 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 90 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 86 int renderer_child_id) OVERRIDE; | 91 int renderer_child_id) OVERRIDE; |
| 87 virtual net::URLRequestContextGetter* | 92 virtual net::URLRequestContextGetter* |
| 88 GetMediaRequestContextForStoragePartition( | 93 GetMediaRequestContextForStoragePartition( |
| 89 const base::FilePath& partition_path, bool in_memory) OVERRIDE; | 94 const base::FilePath& partition_path, bool in_memory) OVERRIDE; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 scoped_ptr<content::ResourceContext> resource_context_; | 126 scoped_ptr<content::ResourceContext> resource_context_; |
| 122 | 127 |
| 123 bool user_pref_service_ready_; | 128 bool user_pref_service_ready_; |
| 124 | 129 |
| 125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 130 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 126 }; | 131 }; |
| 127 | 132 |
| 128 } // namespace android_webview | 133 } // namespace android_webview |
| 129 | 134 |
| 130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 135 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |