Index: chrome/browser/extensions/api/cookies/cookies_helpers.h |
diff --git a/chrome/browser/extensions/api/cookies/cookies_helpers.h b/chrome/browser/extensions/api/cookies/cookies_helpers.h |
index 8d3b2d516b6b93cd597fe4518ae80b16d9a0c87a..28a19415b3a59d3d58bfc35da130ab33d65cf24a 100644 |
--- a/chrome/browser/extensions/api/cookies/cookies_helpers.h |
+++ b/chrome/browser/extensions/api/cookies/cookies_helpers.h |
@@ -10,6 +10,7 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_HELPERS_H_ |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -50,8 +51,9 @@ api::cookies::Cookie CreateCookie(const net::CanonicalCookie& cookie, |
const std::string& store_id); |
// Constructs a new CookieStore object as defined by the cookies API. |
-api::cookies::CookieStore CreateCookieStore(Profile* profile, |
- base::ListValue* tab_ids); |
+api::cookies::CookieStore CreateCookieStore( |
+ Profile* profile, |
+ std::unique_ptr<base::ListValue> tab_ids); |
// Retrieves all cookies from the given cookie store corresponding to the given |
// URL. If the URL is empty, all cookies in the cookie store are retrieved. |