Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6495)

Unified Diff: chrome/browser/extensions/api/cookies/cookies_helpers.h

Issue 2777063003: Stop passing raw pointers to base::Value API in c/b/chromeos and c/b/extensions (Closed)
Patch Set: Just rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698