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

Unified Diff: chrome/browser/extensions/api/settings_private/settings_private_delegate.cc

Issue 1287913005: Refactor prefs.js for MD-Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add return after switch for non-clang Created 5 years, 4 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/extensions/api/settings_private/settings_private_delegate.cc
diff --git a/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc b/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
index 459ddc14f91276c14d8ea98864e3ca5b5e867151..e5f6f4075c3562eb6d2788a3a74be64447a1400e 100644
--- a/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
+++ b/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
@@ -49,8 +49,8 @@ scoped_ptr<base::Value> SettingsPrivateDelegate::GetAllPrefs() {
return prefs.Pass();
}
-bool SettingsPrivateDelegate::SetPref(const std::string& pref_name,
- const base::Value* value) {
+PrefsUtil::SetPrefResult SettingsPrivateDelegate::SetPref(
+ const std::string& pref_name, const base::Value* value) {
return prefs_util_->SetPref(pref_name, value);
}

Powered by Google App Engine
This is Rietveld 408576698