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 #include "components/sync_driver/non_ui_data_type_controller.h" | 5 #include "components/sync_driver/non_ui_data_type_controller.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
17 #include "base/test/test_timeouts.h" | 18 #include "base/test/test_timeouts.h" |
18 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
19 #include "base/threading/thread.h" | 20 #include "base/threading/thread.h" |
20 #include "base/tracked_objects.h" | 21 #include "base/tracked_objects.h" |
21 #include "components/sync_driver/data_type_controller_mock.h" | 22 #include "components/sync_driver/data_type_controller_mock.h" |
22 #include "components/sync_driver/fake_sync_client.h" | 23 #include "components/sync_driver/fake_sync_client.h" |
23 #include "components/sync_driver/generic_change_processor_factory.h" | 24 #include "components/sync_driver/generic_change_processor_factory.h" |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 FROM_HERE, | 496 FROM_HERE, |
496 base::Bind( | 497 base::Bind( |
497 &NonUIDataTypeControllerFake::OnSingleDataTypeUnrecoverableError, | 498 &NonUIDataTypeControllerFake::OnSingleDataTypeUnrecoverableError, |
498 non_ui_dtc_.get(), error)); | 499 non_ui_dtc_.get(), error)); |
499 WaitForDTC(); | 500 WaitForDTC(); |
500 } | 501 } |
501 | 502 |
502 } // namespace | 503 } // namespace |
503 | 504 |
504 } // namespace sync_driver | 505 } // namespace sync_driver |
OLD | NEW |