summaryrefslogtreecommitdiffstats
path: root/net/http/http_transaction.h
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 23:10:57 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 23:10:57 +0000
commitaf4876d348f986491afae8818613351d48192bfd (patch)
treec43ac118a1436eb7e244ab99d9cc9f986923f11b /net/http/http_transaction.h
parent2296ac4b146d7614d812dc56aeee53c14459b342 (diff)
downloadchromium_src-af4876d348f986491afae8818613351d48192bfd.zip
chromium_src-af4876d348f986491afae8818613351d48192bfd.tar.gz
chromium_src-af4876d348f986491afae8818613351d48192bfd.tar.bz2
Remove HttpTransaction::Destroy(), and do automatic memory management with scoped_ptr<>.
Review URL: http://codereview.chromium.org/7532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r--net/http/http_transaction.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 3697a94..ba2cf29 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -18,10 +18,8 @@ class HttpResponseInfo;
// answered. Cookies are assumed to be managed by the caller.
class HttpTransaction {
public:
- virtual ~HttpTransaction() {}
-
// Stops any pending IO and destroys the transaction object.
- virtual void Destroy() = 0;
+ virtual ~HttpTransaction() {}
// Starts the HTTP transaction (i.e., sends the HTTP request).
//