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

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

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing Android's BrowserContext. Created 8 years, 1 month 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) 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 // 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 9
10 #include <string> 10 #include <string>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 static void RegisterUserPrefs(PrefService* prefs); 53 static void RegisterUserPrefs(PrefService* prefs);
54 54
55 // content::BrowserContext implementation: 55 // content::BrowserContext implementation:
56 virtual FilePath GetPath() OVERRIDE; 56 virtual FilePath GetPath() OVERRIDE;
57 virtual content::DownloadManagerDelegate* 57 virtual content::DownloadManagerDelegate*
58 GetDownloadManagerDelegate() OVERRIDE; 58 GetDownloadManagerDelegate() OVERRIDE;
59 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 59 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
60 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 60 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
61 int renderer_child_id) OVERRIDE; 61 int renderer_child_id) OVERRIDE;
62 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 62 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
63 const std::string& partition_id) OVERRIDE; 63 const FilePath& partition_path,
64 bool in_memory) OVERRIDE;
64 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 65 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
65 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 66 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
66 int renderer_child_id) OVERRIDE; 67 int renderer_child_id) OVERRIDE;
67 virtual net::URLRequestContextGetter* 68 virtual net::URLRequestContextGetter*
68 GetMediaRequestContextForStoragePartition( 69 GetMediaRequestContextForStoragePartition(
69 const std::string& partition_id) OVERRIDE; 70 const FilePath& partition_path,
71 bool in_memory) OVERRIDE;
70 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 72 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
71 virtual content::GeolocationPermissionContext* 73 virtual content::GeolocationPermissionContext*
72 GetGeolocationPermissionContext() OVERRIDE; 74 GetGeolocationPermissionContext() OVERRIDE;
73 virtual content::SpeechRecognitionPreferences* 75 virtual content::SpeechRecognitionPreferences*
74 GetSpeechRecognitionPreferences() OVERRIDE; 76 GetSpeechRecognitionPreferences() OVERRIDE;
75 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 77 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
76 78
77 // Profile implementation: 79 // Profile implementation:
78 virtual std::string GetProfileName() OVERRIDE; 80 virtual std::string GetProfileName() OVERRIDE;
79 virtual bool IsOffTheRecord() const OVERRIDE; 81 virtual bool IsOffTheRecord() const OVERRIDE;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 258 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
257 259
258 Profile::Delegate* delegate_; 260 Profile::Delegate* delegate_;
259 261
260 chrome_browser_net::Predictor* predictor_; 262 chrome_browser_net::Predictor* predictor_;
261 263
262 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 264 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
263 }; 265 };
264 266
265 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 267 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698