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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix. And rebase Created 9 years, 7 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/change_processor.cc
diff --git a/chrome/browser/sync/glue/change_processor.cc b/chrome/browser/sync/glue/change_processor.cc
index f77907073175660342dc0c50c5afaab757a829f6..dcf7800e0456e03d880d299bfa4b9cb0581169f8 100644
--- a/chrome/browser/sync/glue/change_processor.cc
+++ b/chrome/browser/sync/glue/change_processor.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,6 +7,11 @@
namespace browser_sync {
+ChangeProcessor::ChangeProcessor(UnrecoverableErrorHandler* error_handler)
+ : running_(false),
+ error_handler_(error_handler),
+ share_handle_(NULL) {}
+
ChangeProcessor::~ChangeProcessor() {
DCHECK(!running_) << "ChangeProcessor dtor while running";
}
@@ -31,4 +36,15 @@ bool ChangeProcessor::IsRunning() const {
return running_;
}
+// Not implemented by default.
+void ChangeProcessor::CommitChangesFromSyncModel() {}
+
+UnrecoverableErrorHandler* ChangeProcessor::error_handler() {
+ return error_handler_;
+}
+
+sync_api::UserShare* ChangeProcessor::share_handle() {
+ return share_handle_;
+}
+
} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/glue/change_processor.h ('k') | chrome/browser/sync/glue/extension_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698