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

Side by Side Diff: chrome/browser/sync/glue/shared_change_processor_ref.cc

Issue 8065016: [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/sync/glue/shared_change_processor_ref.h"
6
7 namespace browser_sync {
8
9 SharedChangeProcessorRef::SharedChangeProcessorRef(
10 const scoped_refptr<SharedChangeProcessor>& change_processor)
11 : change_processor_(change_processor) {
12 DCHECK(change_processor_.get());
13 }
14
15 SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
16
17 SyncError SharedChangeProcessorRef::ProcessSyncChanges(
18 const tracked_objects::Location& from_here,
19 const SyncChangeList& change_list) {
20 return change_processor_->ProcessSyncChanges(from_here, change_list);
21 }
22
23 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698