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; | |
85 virtual bool IsOffTheRecord() const OVERRIDE; | 80 virtual bool IsOffTheRecord() const OVERRIDE; |
86 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 81 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
87 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 82 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
88 int renderer_child_id) OVERRIDE; | 83 int renderer_child_id) OVERRIDE; |
89 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
90 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
91 int renderer_child_id) OVERRIDE; | 86 int renderer_child_id) OVERRIDE; |
92 virtual net::URLRequestContextGetter* | 87 virtual net::URLRequestContextGetter* |
93 GetMediaRequestContextForStoragePartition( | 88 GetMediaRequestContextForStoragePartition( |
94 const base::FilePath& partition_path, bool in_memory) OVERRIDE; | 89 const base::FilePath& partition_path, bool in_memory) OVERRIDE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 scoped_ptr<content::ResourceContext> resource_context_; | 121 scoped_ptr<content::ResourceContext> resource_context_; |
127 | 122 |
128 bool user_pref_service_ready_; | 123 bool user_pref_service_ready_; |
129 | 124 |
130 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
131 }; | 126 }; |
132 | 127 |
133 } // namespace android_webview | 128 } // namespace android_webview |
134 | 129 |
135 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
OLD | NEW |