Index: ios/net/cookies/cookie_store_ios_persistent.mm |
diff --git a/ios/net/cookies/cookie_store_ios_persistent.mm b/ios/net/cookies/cookie_store_ios_persistent.mm |
index a0ed1ada98b4f01e6c83c7d013a8772fae8d5c29..9a8527cd0f55c28cfbab8a1a5872a9f3a1d8aaaf 100644 |
--- a/ios/net/cookies/cookie_store_ios_persistent.mm |
+++ b/ios/net/cookies/cookie_store_ios_persistent.mm |
@@ -57,6 +57,18 @@ void CookieStoreIOSPersistent::SetCookieWithDetailsAsync( |
WrapSetCallback(callback)); |
} |
+void CookieStoreIOSPersistent::SetCanonicalCookieAsync( |
+ std::unique_ptr<CanonicalCookie> cookie, |
+ bool secure_source, |
+ bool modify_http_only, |
+ const SetCookiesCallback& callback) { |
+ DCHECK(thread_checker().CalledOnValidThread()); |
+ |
+ cookie_monster()->SetCanonicalCookieAsync(std::move(cookie), secure_source, |
+ modify_http_only, |
+ WrapSetCallback(callback)); |
+} |
+ |
void CookieStoreIOSPersistent::GetCookiesWithOptionsAsync( |
const GURL& url, |
const net::CookieOptions& options, |