Index: chrome/browser/ui/webui/options/core_options_handler.h |
diff --git a/chrome/browser/ui/webui/options/core_options_handler.h b/chrome/browser/ui/webui/options/core_options_handler.h |
index 1ff2c16f66475f82569634ff604f93fdbe13252a..ae17b2003e8d9ef116ab4d90819d3f41bb934d95 100644 |
--- a/chrome/browser/ui/webui/options/core_options_handler.h |
+++ b/chrome/browser/ui/webui/options/core_options_handler.h |
@@ -6,7 +6,6 @@ |
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_CORE_OPTIONS_HANDLER_H_ |
#include <map> |
-#include <memory> |
#include <string> |
#include "base/callback.h" |
@@ -46,7 +45,7 @@ |
protected: |
// Fetches a pref value of given |pref_name|. |
// Note that caller owns the returned Value. |
- virtual std::unique_ptr<base::Value> FetchPref(const std::string& pref_name); |
+ virtual base::Value* FetchPref(const std::string& pref_name); |
// Observes a pref of given |pref_name|. |
virtual void ObservePref(const std::string& pref_name); |
@@ -89,7 +88,7 @@ |
// Creates dictionary value for the pref described by |pref_name|. |
// If |controlling_pref| is not empty, it describes the pref that manages |
// |pref| via policy or extension. |
- virtual std::unique_ptr<base::Value> CreateValueForPref( |
+ virtual base::Value* CreateValueForPref( |
const std::string& pref_name, |
const std::string& controlling_pref_name); |