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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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 keeps track of the currently-active profiles in the runtime. 5 // This class keeps track of the currently-active profiles in the runtime.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // creation. (Because directories can be removed, however, it may be the case 178 // creation. (Because directories can be removed, however, it may be the case
179 // that at some point the list of numbered profiles is not continuous.) 179 // that at some point the list of numbered profiles is not continuous.)
180 static void CreateMultiProfileAsync( 180 static void CreateMultiProfileAsync(
181 const string16& name, 181 const string16& name,
182 const string16& icon_url, 182 const string16& icon_url,
183 const CreateCallback& callback, 183 const CreateCallback& callback,
184 chrome::HostDesktopType desktop_type, 184 chrome::HostDesktopType desktop_type,
185 bool is_managed); 185 bool is_managed);
186 186
187 // Register multi-profile related preferences in Local State. 187 // Register multi-profile related preferences in Local State.
188 static void RegisterPrefs(PrefService* prefs); 188 static void RegisterPrefs(PrefServiceSimple* prefs);
189 189
190 // Returns a ProfileInfoCache object which can be used to get information 190 // Returns a ProfileInfoCache object which can be used to get information
191 // about profiles without having to load them from disk. 191 // about profiles without having to load them from disk.
192 ProfileInfoCache& GetProfileInfoCache(); 192 ProfileInfoCache& GetProfileInfoCache();
193 193
194 // Returns a ProfileShortcut Manager that enables the caller to create 194 // Returns a ProfileShortcut Manager that enables the caller to create
195 // profile specfic desktop shortcuts. 195 // profile specfic desktop shortcuts.
196 ProfileShortcutManager* profile_shortcut_manager(); 196 ProfileShortcutManager* profile_shortcut_manager();
197 197
198 // Schedules the profile at the given path to be deleted on shutdown. 198 // Schedules the profile at the given path to be deleted on shutdown.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 class ProfileManagerWithoutInit : public ProfileManager { 353 class ProfileManagerWithoutInit : public ProfileManager {
354 public: 354 public:
355 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir); 355 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir);
356 356
357 protected: 357 protected:
358 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {} 358 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {}
359 virtual void DoFinalInitLogging(Profile*) OVERRIDE {} 359 virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
360 }; 360 };
361 361
362 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 362 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_keyed_base_factory.h ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698