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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync_driver/shared_change_processor.h" 5 #include "components/sync_driver/shared_change_processor.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "components/sync/api/sync_change.h"
11 #include "components/sync/api/syncable_service.h"
12 #include "components/sync/core/data_type_error_handler.h"
10 #include "components/sync_driver/generic_change_processor.h" 13 #include "components/sync_driver/generic_change_processor.h"
11 #include "components/sync_driver/generic_change_processor_factory.h" 14 #include "components/sync_driver/generic_change_processor_factory.h"
12 #include "components/sync_driver/sync_client.h" 15 #include "components/sync_driver/sync_client.h"
13 #include "sync/api/sync_change.h"
14 #include "sync/api/syncable_service.h"
15 #include "sync/internal_api/public/data_type_error_handler.h"
16 16
17 using base::AutoLock; 17 using base::AutoLock;
18 18
19 namespace syncer { 19 namespace syncer {
20 class AttachmentService; 20 class AttachmentService;
21 } 21 }
22 22
23 namespace sync_driver { 23 namespace sync_driver {
24 24
25 SharedChangeProcessor::SharedChangeProcessor() 25 SharedChangeProcessor::SharedChangeProcessor()
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return error_handler_->CreateAndUploadError(location, message, type_); 216 return error_handler_->CreateAndUploadError(location, message, type_);
217 } else { 217 } else {
218 return syncer::SyncError(location, 218 return syncer::SyncError(location,
219 syncer::SyncError::DATATYPE_ERROR, 219 syncer::SyncError::DATATYPE_ERROR,
220 message, 220 message,
221 type_); 221 type_);
222 } 222 }
223 } 223 }
224 224
225 } // namespace sync_driver 225 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/shared_change_processor.h ('k') | components/sync_driver/shared_change_processor_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698