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

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

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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
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 "sync/internal_api/public/base/model_type.h"
8 #include "sync/internal_api/public/user_share.h" 8 #include "sync/internal_api/public/user_share.h"
9 #include "sync/util/data_type_histogram.h" 9 #include "sync/util/data_type_histogram.h"
10 10
11 namespace browser_sync { 11 namespace sync_driver {
12 12
13 DataTypeController::DataTypeController( 13 DataTypeController::DataTypeController(
14 scoped_refptr<base::MessageLoopProxy> ui_thread, 14 scoped_refptr<base::MessageLoopProxy> ui_thread,
15 const base::Closure& error_callback, 15 const base::Closure& error_callback,
16 const DisableTypeCallback& disable_callback) 16 const DisableTypeCallback& disable_callback)
17 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread), 17 : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread),
18 error_callback_(error_callback), 18 error_callback_(error_callback),
19 disable_callback_(disable_callback), 19 disable_callback_(disable_callback),
20 user_share_(NULL) { 20 user_share_(NULL) {
21 } 21 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 DataTypeController::DisableTypeCallback 54 DataTypeController::DisableTypeCallback
55 DataTypeController::disable_callback() { 55 DataTypeController::disable_callback() {
56 return disable_callback_; 56 return disable_callback_;
57 } 57 }
58 58
59 bool DataTypeController::ReadyForStart() const { 59 bool DataTypeController::ReadyForStart() const {
60 return true; 60 return true;
61 } 61 }
62 62
63 } // namespace browser_sync 63 } // 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