OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
" | 5 #include "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
13 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
14 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
15 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 16 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
16 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.
h" | 17 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.
h" |
17 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" |
18 #include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h" |
19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 20 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
20 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 21 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
21 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.
h" | 22 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.
h" |
22 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" | 23 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 | 494 |
494 EXPECT_EQ(SYNC_STATUS_OK, ListChanges()); | 495 EXPECT_EQ(SYNC_STATUS_OK, ListChanges()); |
495 EXPECT_EQ(SYNC_STATUS_NO_CHANGE_TO_SYNC, RunSyncerUntilIdle()); | 496 EXPECT_EQ(SYNC_STATUS_NO_CHANGE_TO_SYNC, RunSyncerUntilIdle()); |
496 VerifyConsistency(); | 497 VerifyConsistency(); |
497 | 498 |
498 // SyncEngine will re-register the app and resurrect the app root later. | 499 // SyncEngine will re-register the app and resurrect the app root later. |
499 } | 500 } |
500 | 501 |
501 } // namespace drive_backend | 502 } // namespace drive_backend |
502 } // namespace sync_file_system | 503 } // namespace sync_file_system |
OLD | NEW |