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/local_to_remote_syncer.h
" | 5 #include "chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h
" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
11 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
12 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
13 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 14 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
14 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.
h" | 15 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.
h" |
15 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" | 16 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.h" |
16 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_uploader.h" |
17 #include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h" |
18 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" | 20 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" |
20 #include "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
" | 21 #include "chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
" |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 EXPECT_EQ(SYNC_STATUS_UNKNOWN_ORIGIN, RunLocalToRemoteSyncer( | 550 EXPECT_EQ(SYNC_STATUS_UNKNOWN_ORIGIN, RunLocalToRemoteSyncer( |
550 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, | 551 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, |
551 SYNC_FILE_TYPE_DIRECTORY), | 552 SYNC_FILE_TYPE_DIRECTORY), |
552 URL(kOrigin, "foo"))); | 553 URL(kOrigin, "foo"))); |
553 | 554 |
554 // SyncEngine will re-register the app and resurrect the app root later. | 555 // SyncEngine will re-register the app and resurrect the app root later. |
555 } | 556 } |
556 | 557 |
557 } // namespace drive_backend | 558 } // namespace drive_backend |
558 } // namespace sync_file_system | 559 } // namespace sync_file_system |
OLD | NEW |