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 "chrome/browser/sync_file_system/drive_backend/sync_worker.h" | 5 #include "chrome/browser/sync_file_system/drive_backend/sync_worker.h" |
6 | 6 |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/macros.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
12 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
13 #include "chrome/browser/extensions/test_extension_service.h" | 14 #include "chrome/browser/extensions/test_extension_service.h" |
14 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 15 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
15 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" | 16 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" |
16 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 17 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
17 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h" |
18 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 base::Bind(&SyncWorkerTest::CheckServiceState, | 380 base::Bind(&SyncWorkerTest::CheckServiceState, |
380 AsWeakPtr(), | 381 AsWeakPtr(), |
381 SYNC_STATUS_OK, | 382 SYNC_STATUS_OK, |
382 REMOTE_SERVICE_OK)); | 383 REMOTE_SERVICE_OK)); |
383 | 384 |
384 base::RunLoop().RunUntilIdle(); | 385 base::RunLoop().RunUntilIdle(); |
385 } | 386 } |
386 | 387 |
387 } // namespace drive_backend | 388 } // namespace drive_backend |
388 } // namespace sync_file_system | 389 } // namespace sync_file_system |
OLD | NEW |