diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 23:58:39 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 23:58:39 +0000 |
commit | e3849beb7f4225dc8b736041124e2f9c744cf388 (patch) | |
tree | e06c1493e51d1cfb996108f682b8cbaab86f3436 | |
parent | b43c1354aec478d632fd277c5918669772210a42 (diff) | |
download | chromium_src-e3849beb7f4225dc8b736041124e2f9c744cf388.zip chromium_src-e3849beb7f4225dc8b736041124e2f9c744cf388.tar.gz chromium_src-e3849beb7f4225dc8b736041124e2f9c744cf388.tar.bz2 |
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
-rw-r--r-- | chrome/common/net/test_url_fetcher_factory.cc | 3 | ||||
-rw-r--r-- | chrome/common/net/test_url_fetcher_factory.h | 1 |
2 files changed, 4 insertions, 0 deletions
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() {} |