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

Unified Diff: base/prefs/public/pref_service_base.h

Issue 11307005: Improve performance of registering font preferences (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed redundant enum, left over from earlier version of code. Created 8 years, 2 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 | « no previous file | chrome/browser/prefs/pref_service.h » ('j') | chrome/browser/prefs/pref_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/public/pref_service_base.h
diff --git a/base/prefs/public/pref_service_base.h b/base/prefs/public/pref_service_base.h
index aa5b3fd823da28b7fae8a28f047ac319c422bd28..75797d54edd8bb1f67cdee74e49b832e81e9ac3f 100644
--- a/base/prefs/public/pref_service_base.h
+++ b/base/prefs/public/pref_service_base.h
@@ -161,6 +161,9 @@ class PrefServiceBase {
virtual void RegisterStringPref(const char* path,
const std::string& default_value,
PrefSyncStatus sync_status) = 0;
+ virtual void RegisterStringPrefIfNew(const char* path,
+ const std::string& default_value,
+ PrefSyncStatus sync_status) = 0;
virtual void RegisterFilePathPref(const char* path,
const FilePath& default_value,
PrefSyncStatus sync_status) = 0;
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_service.h » ('j') | chrome/browser/prefs/pref_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698