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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <stack> | 8 #include <stack> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" | 16 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" |
17 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 17 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
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/fake_drive_service_helpe
r.h" |
19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" | 19 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
20 #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" |
21 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" | 21 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h" |
22 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" | 22 #include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h" |
23 #include "chrome/browser/sync_file_system/drive_backend/sync_worker.h" | 23 #include "chrome/browser/sync_file_system/drive_backend/sync_worker.h" |
24 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" | 24 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" |
25 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" | 25 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 | 1723 |
1724 EXPECT_EQ(1u, CountApp()); | 1724 EXPECT_EQ(1u, CountApp()); |
1725 EXPECT_EQ(1u, CountLocalFile(app_id)); | 1725 EXPECT_EQ(1u, CountLocalFile(app_id)); |
1726 | 1726 |
1727 EXPECT_EQ(2u, CountMetadata()); | 1727 EXPECT_EQ(2u, CountMetadata()); |
1728 EXPECT_EQ(2u, CountTracker()); | 1728 EXPECT_EQ(2u, CountTracker()); |
1729 } | 1729 } |
1730 | 1730 |
1731 } // namespace drive_backend | 1731 } // namespace drive_backend |
1732 } // namespace sync_file_system | 1732 } // namespace sync_file_system |
OLD | NEW |