diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:10:57 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 23:10:57 +0000 |
commit | af4876d348f986491afae8818613351d48192bfd (patch) | |
tree | c43ac118a1436eb7e244ab99d9cc9f986923f11b /net/http/http_transaction_winhttp.h | |
parent | 2296ac4b146d7614d812dc56aeee53c14459b342 (diff) | |
download | chromium_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_winhttp.h')
-rw-r--r-- | net/http/http_transaction_winhttp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_transaction_winhttp.h b/net/http/http_transaction_winhttp.h index 7168625..122aea3 100644 --- a/net/http/http_transaction_winhttp.h +++ b/net/http/http_transaction_winhttp.h @@ -50,8 +50,9 @@ class HttpTransactionWinHttp : public HttpTransaction { DISALLOW_EVIL_CONSTRUCTORS(Factory); }; + virtual ~HttpTransactionWinHttp(); + // HttpTransaction methods: - virtual void Destroy(); virtual int Start(const HttpRequestInfo*, CompletionCallback*); virtual int RestartIgnoringLastError(CompletionCallback*); virtual int RestartWithAuth(const std::wstring&, @@ -80,7 +81,6 @@ class HttpTransactionWinHttp : public HttpTransaction { // Methods ------------------------------------------------------------------ HttpTransactionWinHttp(Session* session, const ProxyInfo* info); - ~HttpTransactionWinHttp(); void DoCallback(int rv); int ResolveProxy(); |