From e3849beb7f4225dc8b736041124e2f9c744cf388 Mon Sep 17 00:00:00 2001 From: "satish@chromium.org" Date: Fri, 4 Mar 2011 23:58:39 +0000 Subject: Add a declared destructor as suggested by Clang builder. BUG=none TEST=none TBR=erg@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77000 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/net/test_url_fetcher_factory.cc | 3 +++ chrome/common/net/test_url_fetcher_factory.h | 1 + 2 files changed, 4 insertions(+) diff --git a/chrome/common/net/test_url_fetcher_factory.cc b/chrome/common/net/test_url_fetcher_factory.cc index 88f62d9..0ac8429 100644 --- a/chrome/common/net/test_url_fetcher_factory.cc +++ b/chrome/common/net/test_url_fetcher_factory.cc @@ -20,6 +20,9 @@ TestURLFetcher::TestURLFetcher(int id, did_receive_last_chunk_(false) { } +TestURLFetcher::~TestURLFetcher() { +} + void TestURLFetcher::AppendChunkToUpload(const std::string& data, bool is_last_chunk) { DCHECK(!did_receive_last_chunk_); diff --git a/chrome/common/net/test_url_fetcher_factory.h b/chrome/common/net/test_url_fetcher_factory.h index dd90f44..10c3f7f 100644 --- a/chrome/common/net/test_url_fetcher_factory.h +++ b/chrome/common/net/test_url_fetcher_factory.h @@ -48,6 +48,7 @@ class TestURLFetcher : public URLFetcher { const GURL& url, RequestType request_type, Delegate* d); + ~TestURLFetcher(); // Overriden to do nothing. It is assumed the caller will notify the delegate. virtual void Start() {} -- cgit v1.1