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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 6201005: Initial support for partitioning cookies for isolated apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update cookie logic in test. Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual PersonalDataManager* GetPersonalDataManager(); 74 virtual PersonalDataManager* GetPersonalDataManager();
75 virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext(); 75 virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext();
76 virtual void InitThemes(); 76 virtual void InitThemes();
77 virtual void SetTheme(const Extension* extension); 77 virtual void SetTheme(const Extension* extension);
78 virtual void SetNativeTheme(); 78 virtual void SetNativeTheme();
79 virtual void ClearTheme(); 79 virtual void ClearTheme();
80 virtual const Extension* GetTheme(); 80 virtual const Extension* GetTheme();
81 virtual BrowserThemeProvider* GetThemeProvider(); 81 virtual BrowserThemeProvider* GetThemeProvider();
82 virtual bool HasCreatedDownloadManager() const; 82 virtual bool HasCreatedDownloadManager() const;
83 virtual URLRequestContextGetter* GetRequestContext(); 83 virtual URLRequestContextGetter* GetRequestContext();
84 virtual URLRequestContextGetter* GetRequestContext(const Extension* app);
84 virtual URLRequestContextGetter* GetRequestContextForMedia(); 85 virtual URLRequestContextGetter* GetRequestContextForMedia();
85 virtual URLRequestContextGetter* GetRequestContextForExtensions(); 86 virtual URLRequestContextGetter* GetRequestContextForExtensions();
87 virtual URLRequestContextGetter* GetRequestContextForIsolatedApp(
88 const Extension* installed_app);
86 virtual void RegisterExtensionWithRequestContexts(const Extension* extension); 89 virtual void RegisterExtensionWithRequestContexts(const Extension* extension);
87 virtual void UnregisterExtensionWithRequestContexts( 90 virtual void UnregisterExtensionWithRequestContexts(
88 const Extension* extension); 91 const Extension* extension);
89 virtual net::SSLConfigService* GetSSLConfigService(); 92 virtual net::SSLConfigService* GetSSLConfigService();
90 virtual HostContentSettingsMap* GetHostContentSettingsMap(); 93 virtual HostContentSettingsMap* GetHostContentSettingsMap();
91 virtual HostZoomMap* GetHostZoomMap(); 94 virtual HostZoomMap* GetHostZoomMap();
92 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap(); 95 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
93 virtual GeolocationPermissionContext* GetGeolocationPermissionContext(); 96 virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
94 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher(); 97 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
95 virtual FindBarState* GetFindBarState(); 98 virtual FindBarState* GetFindBarState();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 scoped_ptr<ProfileSyncFactory> profile_sync_factory_; 209 scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
207 scoped_ptr<ProfileSyncService> sync_service_; 210 scoped_ptr<ProfileSyncService> sync_service_;
208 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_; 211 scoped_refptr<CloudPrintProxyService> cloud_print_proxy_service_;
209 212
210 scoped_refptr<ChromeURLRequestContextGetter> request_context_; 213 scoped_refptr<ChromeURLRequestContextGetter> request_context_;
211 214
212 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_; 215 scoped_refptr<ChromeURLRequestContextGetter> media_request_context_;
213 216
214 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_; 217 scoped_refptr<ChromeURLRequestContextGetter> extensions_request_context_;
215 218
219 // A map of request contexts, one per requested app ID.
220 typedef base::hash_map<std::string,
willchan no longer on Chromium 2011/01/26 23:21:52 http://www.corp.google.com/eng/doc/cppguide.xml?ex
Charlie Reis 2011/03/01 21:33:11 Done (now in profile_impl_io_data.h and off_the_re
221 scoped_refptr<ChromeURLRequestContextGetter> >
222 ChromeURLRequestContextGetterMap;
223 ChromeURLRequestContextGetterMap app_request_context_map_;
224
216 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 225 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
217 226
218 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 227 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
219 scoped_refptr<HostZoomMap> host_zoom_map_; 228 scoped_refptr<HostZoomMap> host_zoom_map_;
220 scoped_refptr<GeolocationContentSettingsMap> 229 scoped_refptr<GeolocationContentSettingsMap>
221 geolocation_content_settings_map_; 230 geolocation_content_settings_map_;
222 scoped_refptr<GeolocationPermissionContext> 231 scoped_refptr<GeolocationPermissionContext>
223 geolocation_permission_context_; 232 geolocation_permission_context_;
224 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_; 233 scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
225 scoped_ptr<FindBarState> find_bar_state_; 234 scoped_ptr<FindBarState> find_bar_state_;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 #endif 308 #endif
300 309
301 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 310 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
302 311
303 scoped_refptr<PrerenderManager> prerender_manager_; 312 scoped_refptr<PrerenderManager> prerender_manager_;
304 313
305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 314 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
306 }; 315 };
307 316
308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 317 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698