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

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

Issue 10049005: Fix homepage migration for users who never changed their settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Value -> base::Value Created 8 years, 8 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
Index: chrome/browser/prefs/pref_service.h
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index 890ec1b5045a74406b32297e7b22ec64e0fd558a..5502cb37f984ad722447ea9dcf31cc18b051dbf8 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -267,6 +267,10 @@ class PrefService : public base::NonThreadSafe {
const base::DictionaryValue* GetDictionary(const char* path) const;
const base::ListValue* GetList(const char* path) const;
+ // Returns the value of the given preference, from the user pref store. If
+ // the preference is not set in the user pref store, returns NULL.
+ const base::Value* GetUserPrefValue(const char* path) const;
+
// Removes a user pref and restores the pref to its default value.
void ClearPref(const char* path);
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_service.cc » ('j') | chrome/browser/prefs/session_startup_pref_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698