Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change Cookie Override API to not expose the CookieStoreMap. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
70 content::ProtocolHandlerMap* protocol_handlers); 70 content::ProtocolHandlerMap* protocol_handlers);
71 71
72 AwQuotaManagerBridge* GetQuotaManagerBridge(); 72 AwQuotaManagerBridge* GetQuotaManagerBridge();
73 73
74 AwFormDatabaseService* GetFormDatabaseService(); 74 AwFormDatabaseService* GetFormDatabaseService();
75 void CreateUserPrefServiceIfNecessary(); 75 void CreateUserPrefServiceIfNecessary();
76 76
77 // content::BrowserContext implementation. 77 // content::BrowserContext implementation.
78 virtual base::FilePath GetPath() const OVERRIDE; 78 virtual base::FilePath GetPath() const OVERRIDE;
79 virtual bool IsOffTheRecord() const OVERRIDE; 79 virtual bool IsOffTheRecord() const OVERRIDE;
80 virtual content::CookieStoreConfig GetCookieStoreConfig() OVERRIDE;
80 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 81 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
81 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 82 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
82 int renderer_child_id) OVERRIDE; 83 int renderer_child_id) OVERRIDE;
83 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
84 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
85 int renderer_child_id) OVERRIDE; 86 int renderer_child_id) OVERRIDE;
86 virtual net::URLRequestContextGetter* 87 virtual net::URLRequestContextGetter*
87 GetMediaRequestContextForStoragePartition( 88 GetMediaRequestContextForStoragePartition(
88 const base::FilePath& partition_path, bool in_memory) OVERRIDE; 89 const base::FilePath& partition_path, bool in_memory) OVERRIDE;
89 virtual void RequestMIDISysExPermission( 90 virtual void RequestMIDISysExPermission(
(...skipping 11 matching lines...) Expand all
101 // visitedlink::VisitedLinkDelegate implementation. 102 // visitedlink::VisitedLinkDelegate implementation.
102 virtual void RebuildTable( 103 virtual void RebuildTable(
103 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; 104 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE;
104 105
105 private: 106 private:
106 // The file path where data for this context is persisted. 107 // The file path where data for this context is persisted.
107 base::FilePath context_storage_path_; 108 base::FilePath context_storage_path_;
108 109
109 JniDependencyFactory* native_factory_; 110 JniDependencyFactory* native_factory_;
110 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; 111 scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_;
112 scoped_refptr<net::CookieStore> cookie_store_;
111 scoped_refptr<content::GeolocationPermissionContext> 113 scoped_refptr<content::GeolocationPermissionContext>
112 geolocation_permission_context_; 114 geolocation_permission_context_;
113 scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_; 115 scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_;
114 scoped_ptr<AwFormDatabaseService> form_database_service_; 116 scoped_ptr<AwFormDatabaseService> form_database_service_;
115 117
116 AwDownloadManagerDelegate download_manager_delegate_; 118 AwDownloadManagerDelegate download_manager_delegate_;
117 119
118 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_; 120 scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_;
119 scoped_ptr<content::ResourceContext> resource_context_; 121 scoped_ptr<content::ResourceContext> resource_context_;
120 122
121 bool user_pref_service_ready_; 123 bool user_pref_service_ready_;
122 124
123 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
124 }; 126 };
125 127
126 } // namespace android_webview 128 } // namespace android_webview
127 129
128 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698