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

Unified Diff: chrome/browser/sync/glue/session_data_type_controller.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/glue/session_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/session_data_type_controller.cc b/chrome/browser/sync/glue/session_data_type_controller.cc
index a58248032d1385a78028cba11dbeea1019b547f8..7dd4c2c99863634ea1c0478a212200e9e873f743 100644
--- a/chrome/browser/sync/glue/session_data_type_controller.cc
+++ b/chrome/browser/sync/glue/session_data_type_controller.cc
@@ -18,8 +18,6 @@ SessionDataTypeController::SessionDataTypeController(
sync_service) {
}
-SessionDataTypeController::~SessionDataTypeController() {}
-
SessionModelAssociator* SessionDataTypeController::GetModelAssociator() {
return reinterpret_cast<SessionModelAssociator*>(model_associator_.get());
}
@@ -28,6 +26,8 @@ syncable::ModelType SessionDataTypeController::type() const {
return syncable::SESSIONS;
}
+SessionDataTypeController::~SessionDataTypeController() {}
+
void SessionDataTypeController::CreateSyncComponents() {
ProfileSyncComponentsFactory::SyncComponents sync_components =
profile_sync_factory_->CreateSessionSyncComponents(sync_service_, this);
« no previous file with comments | « chrome/browser/sync/glue/session_data_type_controller.h ('k') | chrome/browser/sync/glue/theme_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698