Index: chrome/browser/ui/webui/components_ui.h |
diff --git a/chrome/browser/ui/webui/components_ui.h b/chrome/browser/ui/webui/components_ui.h |
index b12052bf01d7d2a1ab57432e43da54817170639f..4a4584e29a4d2357dbfc2bd5ffebc50d5819bf39 100644 |
--- a/chrome/browser/ui/webui/components_ui.h |
+++ b/chrome/browser/ui/webui/components_ui.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_UI_WEBUI_COMPONENTS_UI_H_ |
#define CHROME_BROWSER_UI_WEBUI_COMPONENTS_UI_H_ |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
@@ -14,6 +15,7 @@ |
#include "ui/base/layout.h" |
namespace base { |
+class ListValue; |
class RefCountedMemory; |
} |
@@ -25,7 +27,7 @@ class ComponentsUI : public content::WebUIController, |
static void OnDemandUpdate(const std::string& component_id); |
- static base::ListValue* LoadComponents(); |
+ static std::unique_ptr<base::ListValue> LoadComponents(); |
static base::RefCountedMemory* GetFaviconResourceBytes( |
ui::ScaleFactor scale_factor); |