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

Unified Diff: chrome/browser/sync/glue/frontend_data_type_controller.h

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/glue/frontend_data_type_controller.h
diff --git a/chrome/browser/sync/glue/frontend_data_type_controller.h b/chrome/browser/sync/glue/frontend_data_type_controller.h
index 8b46978ce233595145623bbde3da89851422f8d6..1baac4b46f49769450153735daf8c2c6013eaba9 100644
--- a/chrome/browser/sync/glue/frontend_data_type_controller.h
+++ b/chrome/browser/sync/glue/frontend_data_type_controller.h
@@ -41,7 +41,6 @@ class FrontendDataTypeController : public DataTypeController {
ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
- virtual ~FrontendDataTypeController();
// DataTypeController interface.
virtual void Start(const StartCallback& start_callback) OVERRIDE;
@@ -59,8 +58,11 @@ class FrontendDataTypeController : public DataTypeController {
const std::string& message) OVERRIDE;
protected:
+ friend class FrontendDataTypeControllerMock;
+
// For testing only.
FrontendDataTypeController();
+ virtual ~FrontendDataTypeController();
// Kick off any dependent services that need to be running before we can
// associate models. The default implementation is a no-op.

Powered by Google App Engine
This is Rietveld 408576698