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

Unified Diff: chrome/browser/sync/glue/password_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/password_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/password_data_type_controller.cc b/chrome/browser/sync/glue/password_data_type_controller.cc
index 679d03bf54377c5745be39b893deb66a6003cd42..e2d07e76c6972a15a3bfec511aa1f649a5bdb9c2 100644
--- a/chrome/browser/sync/glue/password_data_type_controller.cc
+++ b/chrome/browser/sync/glue/password_data_type_controller.cc
@@ -28,9 +28,17 @@ PasswordDataTypeController::PasswordDataTypeController(
sync_service) {
}
-PasswordDataTypeController::~PasswordDataTypeController() {
+syncable::ModelType PasswordDataTypeController::type() const {
+ return syncable::PASSWORDS;
}
+browser_sync::ModelSafeGroup PasswordDataTypeController::model_safe_group()
+ const {
+ return browser_sync::GROUP_PASSWORD;
+}
+
+PasswordDataTypeController::~PasswordDataTypeController() {}
+
bool PasswordDataTypeController::PostTaskOnBackendThread(
const tracked_objects::Location& from_here,
const base::Closure& task) {
@@ -68,13 +76,4 @@ void PasswordDataTypeController::CreateSyncComponents() {
set_change_processor(sync_components.change_processor);
}
-syncable::ModelType PasswordDataTypeController::type() const {
- return syncable::PASSWORDS;
-}
-
-browser_sync::ModelSafeGroup PasswordDataTypeController::model_safe_group()
- const {
- return browser_sync::GROUP_PASSWORD;
-}
-
} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/glue/password_data_type_controller.h ('k') | chrome/browser/sync/glue/password_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698