OLD | NEW |
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 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ | 5 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ |
6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ | 6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/ref_counted_delete_on_message_loop.h" | 14 #include "base/memory/ref_counted_delete_on_message_loop.h" |
15 #include "base/sequenced_task_runner_helpers.h" | 15 #include "base/sequenced_task_runner_helpers.h" |
16 #include "sync/internal_api/public/base/model_type.h" | 16 #include "components/sync/base/model_type.h" |
17 #include "sync/internal_api/public/data_type_error_handler.h" | 17 #include "components/sync/base/unrecoverable_error_handler.h" |
18 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 18 #include "components/sync/core/data_type_error_handler.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
22 } | 22 } |
23 | 23 |
24 namespace syncer { | 24 namespace syncer { |
25 class SyncError; | 25 class SyncError; |
26 class SyncMergeResult; | 26 class SyncMergeResult; |
27 } | 27 } |
28 | 28 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // TODO(sync): protected for use by legacy controllers. | 170 // TODO(sync): protected for use by legacy controllers. |
171 base::Closure error_callback_; | 171 base::Closure error_callback_; |
172 | 172 |
173 private: | 173 private: |
174 const scoped_refptr<base::SingleThreadTaskRunner> ui_thread_; | 174 const scoped_refptr<base::SingleThreadTaskRunner> ui_thread_; |
175 }; | 175 }; |
176 | 176 |
177 } // namespace sync_driver | 177 } // namespace sync_driver |
178 | 178 |
179 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ | 179 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_H__ |
OLD | NEW |