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

Unified Diff: ios/net/cookies/cookie_store_ios.h

Issue 2596653003: [ios] Removed CookieStoreIOS::SetCookiePolicy. (Closed)
Patch Set: Created 4 years 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/chrome/app/steps/launch_to_foreground.mm ('k') | ios/net/cookies/cookie_store_ios.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.h
diff --git a/ios/net/cookies/cookie_store_ios.h b/ios/net/cookies/cookie_store_ios.h
index 5419a93f6b17fede616c063387fa23fa32c8ed9c..80610d58d3ff178572949c6158859979109e07b8 100644
--- a/ios/net/cookies/cookie_store_ios.h
+++ b/ios/net/cookies/cookie_store_ios.h
@@ -37,9 +37,6 @@ class CookieNotificationObserver {
// Called when any cookie is added, deleted or changed in
// |NSHTTPCookieStorge sharedHTTPCookieStorage|.
virtual void OnSystemCookiesChanged() = 0;
- // Called when the cookie policy changes on
- // |NSHTTPCookieStorge sharedHTTPCookieStorage|.
- virtual void OnSystemCookiePolicyChanged() = 0;
};
// The CookieStoreIOS is an implementation of CookieStore relying on
@@ -78,11 +75,6 @@ class CookieStoreIOS : public net::CookieStore,
enum CookiePolicy { ALLOW, BLOCK };
- // Must be called on the thread where CookieStoreIOS instances live.
- // Affects only those CookieStoreIOS instances that are backed by
- // |NSHTTPCookieStorage sharedHTTPCookieStorage|.
- static void SetCookiePolicy(CookiePolicy setting);
-
// Create an instance of CookieStoreIOS that is generated from the cookies
// stored in |cookie_storage|. The CookieStoreIOS uses the |cookie_storage|
// as its default backend and is initially synchronized with it.
@@ -199,7 +191,6 @@ class CookieStoreIOS : public net::CookieStore,
// Inherited CookieNotificationObserver methods.
void OnSystemCookiesChanged() override;
- void OnSystemCookiePolicyChanged() override;
void DeleteCookiesWithFilter(const CookieFilterFunction& filter,
const DeleteCallback& callback);
« no previous file with comments | « ios/chrome/app/steps/launch_to_foreground.mm ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698