summaryrefslogtreecommitdiffstats
path: root/chrome/common/net/test_url_fetcher_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/net/test_url_fetcher_factory.h')
-rw-r--r--chrome/common/net/test_url_fetcher_factory.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/net/test_url_fetcher_factory.h b/chrome/common/net/test_url_fetcher_factory.h
index 73f4b46..65625a4 100644
--- a/chrome/common/net/test_url_fetcher_factory.h
+++ b/chrome/common/net/test_url_fetcher_factory.h
@@ -76,7 +76,8 @@ class TestURLFetcher : public URLFetcher {
// are registered in a map by the id passed to the create method.
class TestURLFetcherFactory : public URLFetcher::Factory {
public:
- TestURLFetcherFactory() {}
+ TestURLFetcherFactory();
+ virtual ~TestURLFetcherFactory();
virtual URLFetcher* CreateURLFetcher(int id,
const GURL& url,
@@ -128,7 +129,8 @@ class TestURLFetcherFactory : public URLFetcher::Factory {
class FakeURLFetcherFactory : public URLFetcher::Factory {
public:
- FakeURLFetcherFactory() {}
+ FakeURLFetcherFactory();
+ virtual ~FakeURLFetcherFactory();
// If no fake response is set for the given URL this method will return NULL.
// Otherwise, it will return a URLFetcher object which will respond with the