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

Unified Diff: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc

Issue 10071033: RefCounted types should not have public destructors, chrome/browser/ part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering fixes as well 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/sync/profile_sync_service_typed_url_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
index 953592b3788dd0a101a91f37eb2b94a75576363c..22a9e37e8dc8414ce22b630b802ab369103e1391 100644
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
@@ -102,6 +102,9 @@ class HistoryBackendMock : public HistoryBackend {
MOCK_METHOD2(GetURL, bool(const GURL& url_id, history::URLRow* url_row));
MOCK_METHOD2(SetPageTitle, void(const GURL& url, const string16& title));
MOCK_METHOD1(DeleteURL, void(const GURL& url));
+
+ private:
+ virtual ~HistoryBackendMock() {}
};
class HistoryServiceMock : public HistoryService {
@@ -109,6 +112,9 @@ class HistoryServiceMock : public HistoryService {
HistoryServiceMock() {}
MOCK_METHOD2(ScheduleDBTask, void(HistoryDBTask*,
CancelableRequestConsumerBase*));
+
+ private:
+ virtual ~HistoryServiceMock() {}
};
void RunOnDBThreadCallback(HistoryBackend* backend,
« no previous file with comments | « chrome/browser/sync/profile_sync_service_autofill_unittest.cc ('k') | chrome/browser/sync/test/integration/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698