Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1126)

Unified Diff: chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
index b458d38a82e9333dfb40730584132450cbee577d..205f14f3bde36a682bf80fbe06d7486c9768867c 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
@@ -41,8 +41,6 @@ void OnUnpackSuccess(const FilePath& temp_dir,
class MockSandboxedExtensionUnpackerClient
: public SandboxedExtensionUnpackerClient {
public:
- virtual ~MockSandboxedExtensionUnpackerClient() {}
-
MOCK_METHOD4(OnUnpackSuccess,
void(const FilePath& temp_dir,
const FilePath& extension_root,
@@ -56,6 +54,9 @@ class MockSandboxedExtensionUnpackerClient
ON_CALL(*this, OnUnpackSuccess(_, _, _, _))
.WillByDefault(Invoke(::OnUnpackSuccess));
}
+
+ protected:
+ virtual ~MockSandboxedExtensionUnpackerClient() {}
};
class SandboxedExtensionUnpackerTest : public testing::Test {
« no previous file with comments | « chrome/browser/extensions/mock_extension_special_storage_policy.cc ('k') | chrome/browser/extensions/settings/settings_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698