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

Unified Diff: chrome/browser/extensions/api/declarative/test_rules_registry.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/api/declarative/test_rules_registry.cc
diff --git a/chrome/browser/extensions/api/declarative/test_rules_registry.cc b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
index 73cbc6bdb32997e21e0e1254bf8fa4e6798f06f3..660e8b6ecab3eeea668cdbe6837cbe1fc28eb090 100644
--- a/chrome/browser/extensions/api/declarative/test_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
@@ -9,12 +9,6 @@ namespace extensions {
TestRulesRegistry::TestRulesRegistry()
: owner_thread_(content::BrowserThread::UI) {}
-TestRulesRegistry::~TestRulesRegistry() {}
-
-content::BrowserThread::ID TestRulesRegistry::GetOwnerThread() const {
- return owner_thread_;
-}
-
void TestRulesRegistry::SetOwnerThread(
content::BrowserThread::ID owner_thread) {
owner_thread_ = owner_thread;
@@ -37,8 +31,14 @@ std::string TestRulesRegistry::RemoveAllRulesImpl(
return result_;
}
+content::BrowserThread::ID TestRulesRegistry::GetOwnerThread() const {
+ return owner_thread_;
+}
+
void TestRulesRegistry::SetResult(const std::string& result) {
result_ = result;
}
+TestRulesRegistry::~TestRulesRegistry() {}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698