OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "components/drive/chromeos/file_system.h" | 5 #include "components/drive/chromeos/file_system.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
17 #include "base/files/scoped_temp_dir.h" | 17 #include "base/files/scoped_temp_dir.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
20 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
21 #include "base/thread_task_runner_handle.h" | 21 #include "base/threading/thread_task_runner_handle.h" |
22 #include "components/drive/chromeos/change_list_loader.h" | 22 #include "components/drive/chromeos/change_list_loader.h" |
23 #include "components/drive/chromeos/drive_test_util.h" | 23 #include "components/drive/chromeos/drive_test_util.h" |
24 #include "components/drive/chromeos/fake_free_disk_space_getter.h" | 24 #include "components/drive/chromeos/fake_free_disk_space_getter.h" |
25 #include "components/drive/chromeos/file_system_observer.h" | 25 #include "components/drive/chromeos/file_system_observer.h" |
26 #include "components/drive/chromeos/sync_client.h" | 26 #include "components/drive/chromeos/sync_client.h" |
27 #include "components/drive/drive.pb.h" | 27 #include "components/drive/drive.pb.h" |
28 #include "components/drive/drive_api_util.h" | 28 #include "components/drive/drive_api_util.h" |
29 #include "components/drive/event_logger.h" | 29 #include "components/drive/event_logger.h" |
30 #include "components/drive/file_change.h" | 30 #include "components/drive/file_change.h" |
31 #include "components/drive/file_system_core_util.h" | 31 #include "components/drive/file_system_core_util.h" |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 google_apis::test_util::CreateCopyResultCallback(&available)); | 1064 google_apis::test_util::CreateCopyResultCallback(&available)); |
1065 content::RunAllBlockingPoolTasksUntilIdle(); | 1065 content::RunAllBlockingPoolTasksUntilIdle(); |
1066 ASSERT_FALSE(available); | 1066 ASSERT_FALSE(available); |
1067 | 1067 |
1068 entry = GetResourceEntrySync(file_in_root); | 1068 entry = GetResourceEntrySync(file_in_root); |
1069 ASSERT_TRUE(entry); | 1069 ASSERT_TRUE(entry); |
1070 EXPECT_FALSE(entry->file_specific_info().cache_state().is_present()); | 1070 EXPECT_FALSE(entry->file_specific_info().cache_state().is_present()); |
1071 } | 1071 } |
1072 | 1072 |
1073 } // namespace drive | 1073 } // namespace drive |
OLD | NEW |