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

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: Fixed the order in the gypi file. 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 static void RegisterUserPrefs(PrefService* prefs); 54 static void RegisterUserPrefs(PrefService* prefs);
55 55
56 // content::BrowserContext implementation: 56 // content::BrowserContext implementation:
57 virtual FilePath GetPath() OVERRIDE; 57 virtual FilePath GetPath() OVERRIDE;
58 virtual content::DownloadManagerDelegate* 58 virtual content::DownloadManagerDelegate*
59 GetDownloadManagerDelegate() OVERRIDE; 59 GetDownloadManagerDelegate() OVERRIDE;
60 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 60 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
61 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 61 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
62 int renderer_child_id) OVERRIDE; 62 int renderer_child_id) OVERRIDE;
63 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 63 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
64 const std::string& partition_id) OVERRIDE; 64 const FilePath& partition_path,
65 bool in_memory) OVERRIDE;
65 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 66 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
66 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 67 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
67 int renderer_child_id) OVERRIDE; 68 int renderer_child_id) OVERRIDE;
68 virtual net::URLRequestContextGetter* 69 virtual net::URLRequestContextGetter*
69 GetMediaRequestContextForStoragePartition( 70 GetMediaRequestContextForStoragePartition(
70 const std::string& partition_id) OVERRIDE; 71 const FilePath& partition_path,
72 bool in_memory) OVERRIDE;
71 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 73 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
72 virtual content::GeolocationPermissionContext* 74 virtual content::GeolocationPermissionContext*
73 GetGeolocationPermissionContext() OVERRIDE; 75 GetGeolocationPermissionContext() OVERRIDE;
74 virtual content::SpeechRecognitionPreferences* 76 virtual content::SpeechRecognitionPreferences*
75 GetSpeechRecognitionPreferences() OVERRIDE; 77 GetSpeechRecognitionPreferences() OVERRIDE;
76 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 78 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
77 79
78 // Profile implementation: 80 // Profile implementation:
79 virtual std::string GetProfileName() OVERRIDE; 81 virtual std::string GetProfileName() OVERRIDE;
80 virtual bool IsOffTheRecord() const OVERRIDE; 82 virtual bool IsOffTheRecord() const OVERRIDE;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 264 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
263 265
264 Profile::Delegate* delegate_; 266 Profile::Delegate* delegate_;
265 267
266 chrome_browser_net::Predictor* predictor_; 268 chrome_browser_net::Predictor* predictor_;
267 269
268 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 270 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
269 }; 271 };
270 272
271 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 273 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698