From 255790a7a6c27dc4c00dd43c578fc39e179a6b1f Mon Sep 17 00:00:00 2001 From: "chron@chromium.org" Date: Mon, 21 Sep 2009 22:27:30 +0000 Subject: For bookmark sync, remove cookie support from http bridge and syncapi. Cookies are problematic for the sync client and no longer necessary. This code is no longer used. Review URL: http://codereview.chromium.org/208036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26752 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sync/glue/http_bridge.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chrome/browser/sync/glue/http_bridge.h') diff --git a/chrome/browser/sync/glue/http_bridge.h b/chrome/browser/sync/glue/http_bridge.h index 90ffff6..b3dfc4f 100644 --- a/chrome/browser/sync/glue/http_bridge.h +++ b/chrome/browser/sync/glue/http_bridge.h @@ -81,7 +81,6 @@ class HttpBridge : public base::RefCountedThreadSafe, virtual void SetURL(const char* url, int port); virtual void SetPostPayload(const char* content_type, int content_length, const char* content); - virtual void AddCookieForRequest(const char* cookie); virtual bool MakeSynchronousPost(int* os_error_code, int* response_code); // WARNING: these response content methods are used to extract plain old data @@ -90,8 +89,6 @@ class HttpBridge : public base::RefCountedThreadSafe, // string r(b->GetResponseContent(), b->GetResponseContentLength()). virtual int GetResponseContentLength() const; virtual const char* GetResponseContent() const; - virtual int GetResponseCookieCount() const; - virtual const char* GetResponseCookieAt(int cookie_number) const; // URLFetcher::Delegate implementation. virtual void OnURLFetchComplete(const URLFetcher* source, const GURL& url, @@ -147,7 +144,6 @@ class HttpBridge : public base::RefCountedThreadSafe, bool request_succeeded_; int http_response_code_; int os_error_code_; - ResponseCookies response_cookies_; std::string response_content_; // A waitable event we use to provide blocking semantics to -- cgit v1.1