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

Unified Diff: chrome/browser/sync/glue/bookmark_data_type_controller.cc

Issue 5841002: Finish deinlining virtual methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert parts of the balloon modifications Created 10 years 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/bookmark_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller.cc b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
index c8949d0d5eabd42e58460259408eae7daa6556ae..26a02f46e5c69a78a88356228a77607eebb9b465 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
@@ -88,6 +88,27 @@ void BookmarkDataTypeController::Stop() {
state_ = NOT_RUNNING;
}
+bool BookmarkDataTypeController::enabled() {
+ return true;
+}
+
+syncable::ModelType BookmarkDataTypeController::type() {
+ return syncable::BOOKMARKS;
+}
+
+browser_sync::ModelSafeGroup BookmarkDataTypeController::model_safe_group() {
+ return browser_sync::GROUP_UI;
+}
+
+const char* BookmarkDataTypeController::name() const {
+ // For logging only.
+ return "bookmark";
+}
+
+DataTypeController::State BookmarkDataTypeController::state() {
+ return state_;
+}
+
void BookmarkDataTypeController::OnUnrecoverableError(
const tracked_objects::Location& from_here, const std::string& message) {
// The ProfileSyncService will invoke our Stop() method in response to this.

Powered by Google App Engine
This is Rietveld 408576698