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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "base/thread_task_runner_handle.h" | |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "chrome/browser/sync_file_system/file_change.h" | 18 #include "chrome/browser/sync_file_system/file_change.h" |
19 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" | 19 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" |
20 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" | 20 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
21 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" | 21 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
22 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" | 22 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
23 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" | 23 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" |
24 #include "chrome/browser/sync_file_system/local/mock_sync_status_observer.h" | 24 #include "chrome/browser/sync_file_system/local/mock_sync_status_observer.h" |
25 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 25 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
26 #include "chrome/browser/sync_file_system/mock_local_change_processor.h" | 26 #include "chrome/browser/sync_file_system/mock_local_change_processor.h" |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 all_origins.insert(kOrigin2); | 727 all_origins.insert(kOrigin2); |
728 all_origins.insert(kOrigin3); | 728 all_origins.insert(kOrigin3); |
729 while (!all_origins.empty()) { | 729 while (!all_origins.empty()) { |
730 ASSERT_TRUE(NextOriginToProcess(&origin)); | 730 ASSERT_TRUE(NextOriginToProcess(&origin)); |
731 ASSERT_TRUE(ContainsKey(all_origins, origin)); | 731 ASSERT_TRUE(ContainsKey(all_origins, origin)); |
732 all_origins.erase(origin); | 732 all_origins.erase(origin); |
733 } | 733 } |
734 } | 734 } |
735 | 735 |
736 } // namespace sync_file_system | 736 } // namespace sync_file_system |
OLD | NEW |