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

Unified Diff: ios/net/cookies/cookie_store_ios_unittest.mm

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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
« no previous file with comments | « ios/net/cookies/cookie_cache_unittest.cc ('k') | ios/web/public/test/http_server.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_store_ios_unittest.mm
diff --git a/ios/net/cookies/cookie_store_ios_unittest.mm b/ios/net/cookies/cookie_store_ios_unittest.mm
index 87c7bd4e9b0c00f359566630b2112e7c5ca9541b..fc2b34b1c9c5655382c97db71123d884152fcdcc 100644
--- a/ios/net/cookies/cookie_store_ios_unittest.mm
+++ b/ios/net/cookies/cookie_store_ios_unittest.mm
@@ -405,7 +405,7 @@ class CookieStoreIOSWithBackend : public testing::Test {
NSHTTPCookieStorage* storage =
[NSHTTPCookieStorage sharedHTTPCookieStorage];
[storage setCookie:[NSHTTPCookie cookieWithProperties:@{
- NSHTTPCookiePath : base::SysUTF8ToNSString(url.path()),
+ NSHTTPCookiePath : base::SysUTF8ToNSString(url.path().as_string()),
NSHTTPCookieName : base::SysUTF8ToNSString(name),
NSHTTPCookieValue : base::SysUTF8ToNSString(value),
NSHTTPCookieDomain : base::SysUTF8ToNSString(url.host()),
« no previous file with comments | « ios/net/cookies/cookie_cache_unittest.cc ('k') | ios/web/public/test/http_server.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698