Index: android_webview/browser/net/aw_cookie_store_wrapper.cc |
diff --git a/android_webview/browser/net/aw_cookie_store_wrapper.cc b/android_webview/browser/net/aw_cookie_store_wrapper.cc |
index a8cb4ca9a2a5476487b2cf557b6b8bc62b082775..ee82835643eb36cb7a02476aefca09cdbaf64057 100644 |
--- a/android_webview/browser/net/aw_cookie_store_wrapper.cc |
+++ b/android_webview/browser/net/aw_cookie_store_wrapper.cc |
@@ -70,10 +70,11 @@ class SubscriptionWrapper { |
url, name, base::Bind(&NestedSubscription::OnChanged, this)); |
} |
- void OnChanged(const net::CanonicalCookie& cookie, bool removed) { |
+ void OnChanged(const net::CanonicalCookie& cookie, |
+ net::CookieStore::ChangeCause cause) { |
client_task_runner_->PostTask( |
FROM_HERE, base::Bind(&SubscriptionWrapper::OnChanged, |
- subscription_wrapper_, cookie, removed)); |
+ subscription_wrapper_, cookie, cause)); |
} |
base::WeakPtr<SubscriptionWrapper> subscription_wrapper_; |
@@ -84,8 +85,9 @@ class SubscriptionWrapper { |
DISALLOW_COPY_AND_ASSIGN(NestedSubscription); |
}; |
- void OnChanged(const net::CanonicalCookie& cookie, bool removed) { |
- callback_list_.Notify(cookie, removed); |
+ void OnChanged(const net::CanonicalCookie& cookie, |
+ net::CookieStore::ChangeCause cause) { |
+ callback_list_.Notify(cookie, cause); |
} |
// The "list" only had one entry, so can just clean up now. |