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

Unified Diff: chrome/browser/sync/glue/app_notification_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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/app_notification_data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/app_notification_data_type_controller.h
diff --git a/chrome/browser/sync/glue/app_notification_data_type_controller.h b/chrome/browser/sync/glue/app_notification_data_type_controller.h
index 7d3dec710be66f85a3869bedd932db51b1530a17..2851a043352eb0918ad02927db8f992933899fb8 100644
--- a/chrome/browser/sync/glue/app_notification_data_type_controller.h
+++ b/chrome/browser/sync/glue/app_notification_data_type_controller.h
@@ -25,7 +25,6 @@ class AppNotificationDataTypeController
ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
- virtual ~AppNotificationDataTypeController();
// NotificationObserver interface.
virtual void Observe(int type,
@@ -36,6 +35,9 @@ class AppNotificationDataTypeController
virtual AppNotificationManager* GetAppNotificationManager();
private:
+ friend class TestAppNotificationDataTypeController;
+ virtual ~AppNotificationDataTypeController();
+
// FrontendDataTypeController implementations.
virtual bool StartModels() OVERRIDE;
virtual void StopModels() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/app_notification_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698