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

Unified Diff: chrome/browser/prefs/pref_service.h

Issue 6979011: Move user cloud policy to BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments by mnissler. Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service.h
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index 0a98c4cab7434ede36b0e3e26159019329ce9789..ca1bbfc74a89f7c4209f89882e2477df330ffee0 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -125,18 +125,16 @@ class PrefService : public base::NonThreadSafe {
// Factory method that creates a new instance of a PrefService with the
// applicable PrefStores. The |pref_filename| points to the user preference
- // file. The |profile| is the one to which these preferences apply; it may be
- // NULL if we're dealing with the local state. This is the usual way to create
- // a new PrefService. |extension_pref_store| is used as the source for
- // extension-controlled preferences and may be NULL. The PrefService takes
- // ownership of |extension_pref_store|. If |async| is true, asynchronous
- // version is used. Notifies using PREF_INITIALIZATION_COMPLETED in the end.
- // Details is set to the created PrefService or NULL if creation has failed.
- // Note, it is guaranteed that in asynchronous version initialization happens
- // after this function returned.
+ // file. This is the usual way to create a new PrefService.
+ // |extension_pref_store| is used as the source for extension-controlled
+ // preferences and may be NULL. The PrefService takes ownership of
+ // |extension_pref_store|. If |async| is true, asynchronous version is used.
+ // Notifies using PREF_INITIALIZATION_COMPLETED in the end. Details is set to
+ // the created PrefService or NULL if creation has failed. Note, it is
+ // guaranteed that in asynchronous version initialization happens after this
+ // function returned.
static PrefService* CreatePrefService(const FilePath& pref_filename,
PrefStore* extension_pref_store,
- Profile* profile,
bool async);
// Creates an incognito copy of the pref service that shares most pref stores
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698