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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. Created 7 years, 10 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) 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // creation. (Because directories can be removed, however, it may be the case 182 // creation. (Because directories can be removed, however, it may be the case
183 // that at some point the list of numbered profiles is not continuous.) 183 // that at some point the list of numbered profiles is not continuous.)
184 static void CreateMultiProfileAsync( 184 static void CreateMultiProfileAsync(
185 const string16& name, 185 const string16& name,
186 const string16& icon_url, 186 const string16& icon_url,
187 const CreateCallback& callback, 187 const CreateCallback& callback,
188 chrome::HostDesktopType desktop_type, 188 chrome::HostDesktopType desktop_type,
189 bool is_managed); 189 bool is_managed);
190 190
191 // Register multi-profile related preferences in Local State. 191 // Register multi-profile related preferences in Local State.
192 static void RegisterPrefs(PrefServiceSimple* prefs); 192 static void RegisterPrefs(PrefRegistrySimple* registry);
193 193
194 // Returns a ProfileInfoCache object which can be used to get information 194 // Returns a ProfileInfoCache object which can be used to get information
195 // about profiles without having to load them from disk. 195 // about profiles without having to load them from disk.
196 ProfileInfoCache& GetProfileInfoCache(); 196 ProfileInfoCache& GetProfileInfoCache();
197 197
198 // Returns a ProfileShortcut Manager that enables the caller to create 198 // Returns a ProfileShortcut Manager that enables the caller to create
199 // profile specfic desktop shortcuts. 199 // profile specfic desktop shortcuts.
200 ProfileShortcutManager* profile_shortcut_manager(); 200 ProfileShortcutManager* profile_shortcut_manager();
201 201
202 // Schedules the profile at the given path to be deleted on shutdown. 202 // Schedules the profile at the given path to be deleted on shutdown.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 class ProfileManagerWithoutInit : public ProfileManager { 361 class ProfileManagerWithoutInit : public ProfileManager {
362 public: 362 public:
363 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir); 363 explicit ProfileManagerWithoutInit(const FilePath& user_data_dir);
364 364
365 protected: 365 protected:
366 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {} 366 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {}
367 virtual void DoFinalInitLogging(Profile*) OVERRIDE {} 367 virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
368 }; 368 };
369 369
370 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 370 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698