summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_cookie_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browsing_data_cookie_helper.h')
-rw-r--r--chrome/browser/browsing_data_cookie_helper.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/browsing_data_cookie_helper.h b/chrome/browser/browsing_data_cookie_helper.h
index 51c230a..2ef0512 100644
--- a/chrome/browser/browsing_data_cookie_helper.h
+++ b/chrome/browser/browsing_data_cookie_helper.h
@@ -25,8 +25,6 @@ class URLRequestContextGetter;
// A client of this class need to call StartFetching from the UI thread to
// initiate the flow, and it'll be notified by the callback in its UI
// thread at some later point.
-// The client must call CancelNotification() if it's destroyed before the
-// callback is notified.
class BrowsingDataCookieHelper
: public base::RefCountedThreadSafe<BrowsingDataCookieHelper> {
public:
@@ -38,11 +36,6 @@ class BrowsingDataCookieHelper
virtual void StartFetching(
const base::Callback<void(const net::CookieList& cookies)>& callback);
- // Cancels the notification callback (i.e., the window that created it no
- // longer exists).
- // This must be called only in the UI thread.
- virtual void CancelNotification();
-
// Requests a single cookie to be deleted in the IO thread. This must be
// called in the UI thread.
virtual void DeleteCookie(const net::CookieMonster::CanonicalCookie& cookie);
@@ -113,7 +106,6 @@ class CannedBrowsingDataCookieHelper : public BrowsingDataCookieHelper {
// BrowsingDataCookieHelper methods.
virtual void StartFetching(
const net::CookieMonster::GetCookieListCallback& callback) OVERRIDE;
- virtual void CancelNotification() OVERRIDE;
private:
// Check if the cookie list contains a cookie with the same name,