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 <algorithm> | 5 #include <algorithm> |
6 #include <stack> | 6 #include <stack> |
7 | 7 |
8 #include "base/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
12 #include "chrome/browser/drive/drive_uploader.h" | 12 #include "chrome/browser/drive/drive_uploader.h" |
13 #include "chrome/browser/drive/fake_drive_service.h" | 13 #include "chrome/browser/drive/fake_drive_service.h" |
14 #include "chrome/browser/drive/test_util.h" | 14 #include "chrome/browser/drive/test_util.h" |
15 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.h" | 15 #include "chrome/browser/sync_file_system/drive_backend/callback_helper.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_constants.
h" |
17 #include "chrome/browser/sync_file_system/drive_backend/fake_drive_service_helpe
r.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/metadata_database.h" | 18 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" |
(...skipping 1705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1724 | 1724 |
1725 EXPECT_EQ(1u, CountApp()); | 1725 EXPECT_EQ(1u, CountApp()); |
1726 EXPECT_EQ(1u, CountLocalFile(app_id)); | 1726 EXPECT_EQ(1u, CountLocalFile(app_id)); |
1727 | 1727 |
1728 EXPECT_EQ(2u, CountMetadata()); | 1728 EXPECT_EQ(2u, CountMetadata()); |
1729 EXPECT_EQ(2u, CountTracker()); | 1729 EXPECT_EQ(2u, CountTracker()); |
1730 } | 1730 } |
1731 | 1731 |
1732 } // namespace drive_backend | 1732 } // namespace drive_backend |
1733 } // namespace sync_file_system | 1733 } // namespace sync_file_system |
OLD | NEW |