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

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

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.h
diff --git a/chrome/browser/extensions/api/settings_private/settings_private_delegate.h b/chrome/browser/extensions/api/settings_private/settings_private_delegate.h
index b2a1c90c75c1c9c2c946f0857c3aada50e96ffe2..3f6c6ba5a37bb403729a5e5583ac54d144645a65 100644
--- a/chrome/browser/extensions/api/settings_private/settings_private_delegate.h
+++ b/chrome/browser/extensions/api/settings_private/settings_private_delegate.h
@@ -35,7 +35,8 @@ class SettingsPrivateDelegate : public KeyedService {
~SettingsPrivateDelegate() override;
// Sets the pref with the given name and value in the proper PrefService.
- virtual bool SetPref(const std::string& name, const base::Value* value);
+ virtual PrefsUtil::SetPrefResult SetPref(
+ const std::string& name, const base::Value* value);
// Gets the value of the pref with the given |name|.
virtual scoped_ptr<base::Value> GetPref(const std::string& name);

Powered by Google App Engine
This is Rietveld 408576698