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

Unified Diff: net/base/static_cookie_policy_unittest.cc

Issue 6749044: Remove async functionality from net::CookiePolicy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 9 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: net/base/static_cookie_policy_unittest.cc
diff --git a/net/base/static_cookie_policy_unittest.cc b/net/base/static_cookie_policy_unittest.cc
index 9fac6669b8fbf6774dd5ca320bccd48204c77940..f701ceb7dba04a107396b3099a570de1d82473f3 100644
--- a/net/base/static_cookie_policy_unittest.cc
+++ b/net/base/static_cookie_policy_unittest.cc
@@ -21,10 +21,10 @@ class StaticCookiePolicyTest : public testing::Test {
policy_.set_type(type);
}
int CanGetCookies(const GURL& url, const GURL& first_party) {
- return policy_.CanGetCookies(url, first_party, NULL);
+ return policy_.CanGetCookies(url, first_party);
}
int CanSetCookie(const GURL& url, const GURL& first_party) {
- return policy_.CanSetCookie(url, first_party, std::string(), NULL);
+ return policy_.CanSetCookie(url, first_party, std::string());
}
protected:
StaticCookiePolicy policy_;

Powered by Google App Engine
This is Rietveld 408576698