Index: chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h |
diff --git a/chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h b/chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h |
index 2781665c3a50a89eab72586b1f07d05956c3f1dc..2240d31c972d2613f5f1d682dd31bd5a2f10897a 100644 |
--- a/chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h |
+++ b/chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_H_ |
+#include <memory> |
#include <set> |
#include <string> |
@@ -37,9 +38,9 @@ class SettingsOverridesAPI : public BrowserContextKeyedAPI, |
// Wrappers around PreferenceAPI. |
void SetPref(const std::string& extension_id, |
const std::string& pref_key, |
- base::Value* value); |
+ std::unique_ptr<base::Value> value) const; |
void UnsetPref(const std::string& extension_id, |
- const std::string& pref_key); |
+ const std::string& pref_key) const; |
// ExtensionRegistryObserver implementation. |
void OnExtensionLoaded(content::BrowserContext* browser_context, |