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

Unified Diff: chrome/browser/history/history_browsertest.cc

Issue 10071032: RefCounted types should not have public destructors, chrome/browser/ part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation fixes 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/history/history_browsertest.cc
diff --git a/chrome/browser/history/history_browsertest.cc b/chrome/browser/history/history_browsertest.cc
index c636af7c9769a22f0640926ff0bd87c9ecdf7f08..2a1b3019beba6b19a4ec780234a3456f632d6d19 100644
--- a/chrome/browser/history/history_browsertest.cc
+++ b/chrome/browser/history/history_browsertest.cc
@@ -35,8 +35,7 @@ namespace {
// Notifies the main thread after all history backend thread tasks have run.
class WaitForHistoryTask : public HistoryDBTask {
public:
- WaitForHistoryTask() {
- }
+ WaitForHistoryTask() {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
history::HistoryDatabase* db) {
@@ -48,6 +47,8 @@ class WaitForHistoryTask : public HistoryDBTask {
}
private:
+ virtual ~WaitForHistoryTask() {}
+
DISALLOW_COPY_AND_ASSIGN(WaitForHistoryTask);
};
« no previous file with comments | « chrome/browser/component_updater/component_updater_service.cc ('k') | chrome/browser/history/history_extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698