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

Side by Side Diff: components/sync_driver/change_processor.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2014 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 "components/sync_driver/change_processor.h"
6
7 namespace sync_driver {
8
9 ChangeProcessor::ChangeProcessor(syncer::DataTypeErrorHandler* error_handler)
10 : error_handler_(error_handler), share_handle_(NULL) {}
11
12 ChangeProcessor::~ChangeProcessor() {
13 }
14
15 void ChangeProcessor::Start(syncer::UserShare* share_handle) {
16 DCHECK(!share_handle_);
17 share_handle_ = share_handle;
18 StartImpl();
19 }
20
21 // Not implemented by default.
22 void ChangeProcessor::CommitChangesFromSyncModel() {}
23
24 syncer::DataTypeErrorHandler* ChangeProcessor::error_handler() const {
25 return error_handler_;
26 }
27
28 syncer::UserShare* ChangeProcessor::share_handle() const {
29 return share_handle_;
30 }
31
32 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/change_processor.h ('k') | components/sync_driver/change_processor_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698