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

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

Issue 2479973002: MD Settings: clarify "controlled by" logic (Closed)
Patch Set: merge Created 4 years, 1 month 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/prefs_util.h
diff --git a/chrome/browser/extensions/api/settings_private/prefs_util.h b/chrome/browser/extensions/api/settings_private/prefs_util.h
index 321a5c9e88f57e63d3086b7e640d3559ddc2b8d7..a2f229e0862f53615a0d2b528c55bd518580e57f 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.h
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.h
@@ -17,6 +17,7 @@ class PrefService;
class Profile;
namespace extensions {
+class Extension;
class PrefsUtil {
@@ -102,6 +103,10 @@ class PrefsUtil {
SetPrefResult SetCrosSettingsPref(const std::string& name,
const base::Value* value);
+ private:
+ const Extension* GetExtensionControllingPref(
+ const api::settings_private::PrefObject& pref_object);
+
Profile* profile_; // weak
};

Powered by Google App Engine
This is Rietveld 408576698