summaryrefslogtreecommitdiffstats
path: root/webkit/glue/unittest_test_server.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:40:45 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:40:45 +0000
commit122331d5cf1fdad245bb4e174c188ec3851b4d13 (patch)
treed9d47ff2304f96e0f5bbe97e080c80069ad45c9a /webkit/glue/unittest_test_server.h
parentf164cea41472f9e9ec21579233e2c42a7b9d5184 (diff)
downloadchromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.zip
chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.gz
chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.bz2
Third patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/363023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/unittest_test_server.h')
-rw-r--r--webkit/glue/unittest_test_server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/unittest_test_server.h b/webkit/glue/unittest_test_server.h
index f0e30d9..139909e 100644
--- a/webkit/glue/unittest_test_server.h
+++ b/webkit/glue/unittest_test_server.h
@@ -33,9 +33,6 @@ class UnittestTestServer : public HTTPTestServer {
return test_server;
}
- virtual ~UnittestTestServer() {
- }
-
virtual bool MakeGETRequest(const std::string& page_name) {
GURL url(TestServerPage(page_name));
scoped_ptr<ResourceLoaderBridge> loader(
@@ -57,6 +54,9 @@ class UnittestTestServer : public HTTPTestServer {
loader->SyncLoad(&resp);
return resp.status.is_success();
}
+
+ private:
+ virtual ~UnittestTestServer() {}
};
#endif // WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__