| 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
|
|
|