Index: chrome/browser/net/referrer.h |
diff --git a/chrome/browser/net/referrer.h b/chrome/browser/net/referrer.h |
index 3d10b39953c417c3c60a0df5b0593820a9413323..626ddc4f39f83a2c6fb4189f9eed5369317ccec7 100644 |
--- a/chrome/browser/net/referrer.h |
+++ b/chrome/browser/net/referrer.h |
@@ -15,19 +15,17 @@ |
#ifndef CHROME_BROWSER_NET_REFERRER_H_ |
#define CHROME_BROWSER_NET_REFERRER_H_ |
-#include <map> |
- |
#include <stdint.h> |
+#include <map> |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "base/time/time.h" |
+#include "base/values.h" |
#include "net/base/host_port_pair.h" |
#include "url/gurl.h" |
-namespace base { |
-class Value; |
-} |
- |
namespace chrome_browser_net { |
//------------------------------------------------------------------------------ |
@@ -108,7 +106,7 @@ class Referrer : public SubresourceMap { |
void SuggestHost(const GURL& url); |
// Provide methods for persisting, and restoring contents into a Value class. |
- base::Value* Serialize() const; |
+ std::unique_ptr<base::ListValue> Serialize() const; |
void Deserialize(const base::Value& referrers); |
private: |