| Index: chrome/browser/sync/glue/shared_change_processor_ref.cc
|
| diff --git a/chrome/browser/sync/glue/shared_change_processor_ref.cc b/chrome/browser/sync/glue/shared_change_processor_ref.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e0b2a520abddedc92b38b4e5238a05d9680ab67c
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/glue/shared_change_processor_ref.cc
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +#include "chrome/browser/sync/glue/shared_change_processor_ref.h"
|
| +
|
| +namespace browser_sync {
|
| +
|
| +SharedChangeProcessorRef::SharedChangeProcessorRef(
|
| + const scoped_refptr<SharedChangeProcessor>& change_processor)
|
| + : change_processor_(change_processor) {
|
| + DCHECK(change_processor_.get());
|
| +}
|
| +
|
| +SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
|
| +
|
| +SyncError SharedChangeProcessorRef::ProcessSyncChanges(
|
| + const tracked_objects::Location& from_here,
|
| + const SyncChangeList& change_list) {
|
| + return change_processor_->ProcessSyncChanges(from_here, change_list);
|
| +}
|
| +
|
| +} // namespace browser_sync
|
|
|