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..0f95de0d3c00f9293e6c588254267724cd07e4be 100644 |
--- a/ios/net/cookies/cookie_store_ios_persistent.mm |
+++ b/ios/net/cookies/cookie_store_ios_persistent.mm |
@@ -57,6 +57,17 @@ void CookieStoreIOSPersistent::SetCookieWithDetailsAsync( |
WrapSetCallback(callback)); |
} |
+void CookieStoreIOSPersistent::SetCanonicalCookieAsync( |
+ const CanonicalCookie& cookie, |
+ bool secure_source, |
+ bool modify_http_only, |
+ const SetCookiesCallback& callback) { |
+ DCHECK(thread_checker().CalledOnValidThread()); |
+ |
+ cookie_monster()->SetCanonicalCookieAsync( |
+ cookie, secure_source, modify_http_only, WrapSetCallback(callback)); |
+} |
+ |
void CookieStoreIOSPersistent::GetCookiesWithOptionsAsync( |
const GURL& url, |
const net::CookieOptions& options, |