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

Side by Side Diff: components/sync_driver/data_type_controller.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/data_type_controller.h" 5 #include "components/sync_driver/data_type_controller.h"
6 6
7 #include "sync/internal_api/public/base/model_type.h" 7 #include "components/sync/base/data_type_histogram.h"
8 #include "sync/internal_api/public/user_share.h" 8 #include "components/sync/base/model_type.h"
9 #include "sync/util/data_type_histogram.h" 9 #include "components/sync/core/user_share.h"
10 10
11 namespace sync_driver { 11 namespace sync_driver {
12 12
13 DataTypeController::DataTypeController( 13 DataTypeController::DataTypeController(
14 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, 14 const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
15 const base::Closure& error_callback) 15 const base::Closure& error_callback)
16 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread), 16 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread),
17 error_callback_(error_callback), 17 error_callback_(error_callback),
18 ui_thread_(ui_thread) {} 18 ui_thread_(ui_thread) {}
19 19
(...skipping 18 matching lines...) Expand all
38 syncer::SyncError::DATATYPE_ERROR, 38 syncer::SyncError::DATATYPE_ERROR,
39 message, 39 message,
40 type); 40 type);
41 } 41 }
42 42
43 bool DataTypeController::ReadyForStart() const { 43 bool DataTypeController::ReadyForStart() const {
44 return true; 44 return true;
45 } 45 }
46 46
47 } // namespace sync_driver 47 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/data_type_controller.h ('k') | components/sync_driver/data_type_controller_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698