| 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 "chrome/browser/chromeos/drive/file_system.h" |     5 #include "chrome/browser/chromeos/drive/file_system.h" | 
|     6  |     6  | 
|     7 #include <string> |     7 #include <string> | 
|     8 #include <vector> |     8 #include <vector> | 
|     9  |     9  | 
|    10 #include "base/bind.h" |    10 #include "base/bind.h" | 
|    11 #include "base/files/file_path.h" |    11 #include "base/files/file_path.h" | 
|    12 #include "base/files/file_util.h" |    12 #include "base/files/file_util.h" | 
|    13 #include "base/files/scoped_temp_dir.h" |    13 #include "base/files/scoped_temp_dir.h" | 
|    14 #include "base/memory/scoped_ptr.h" |    14 #include "base/memory/scoped_ptr.h" | 
|    15 #include "base/prefs/testing_pref_service.h" |    15 #include "base/prefs/testing_pref_service.h" | 
|    16 #include "base/run_loop.h" |    16 #include "base/run_loop.h" | 
|    17 #include "base/single_thread_task_runner.h" |    17 #include "base/single_thread_task_runner.h" | 
|    18 #include "base/thread_task_runner_handle.h" |    18 #include "base/thread_task_runner_handle.h" | 
|    19 #include "chrome/browser/chromeos/drive/change_list_loader.h" |  | 
|    20 #include "chrome/browser/chromeos/drive/file_system_observer.h" |    19 #include "chrome/browser/chromeos/drive/file_system_observer.h" | 
|    21 #include "chrome/browser/chromeos/drive/sync_client.h" |    20 #include "chrome/browser/chromeos/drive/sync_client.h" | 
 |    21 #include "components/drive/change_list_loader.h" | 
|    22 #include "components/drive/drive.pb.h" |    22 #include "components/drive/drive.pb.h" | 
|    23 #include "components/drive/drive_api_util.h" |    23 #include "components/drive/drive_api_util.h" | 
|    24 #include "components/drive/drive_test_util.h" |    24 #include "components/drive/drive_test_util.h" | 
|    25 #include "components/drive/event_logger.h" |    25 #include "components/drive/event_logger.h" | 
|    26 #include "components/drive/fake_free_disk_space_getter.h" |    26 #include "components/drive/fake_free_disk_space_getter.h" | 
|    27 #include "components/drive/file_change.h" |    27 #include "components/drive/file_change.h" | 
|    28 #include "components/drive/file_system_core_util.h" |    28 #include "components/drive/file_system_core_util.h" | 
|    29 #include "components/drive/job_scheduler.h" |    29 #include "components/drive/job_scheduler.h" | 
|    30 #include "components/drive/service/fake_drive_service.h" |    30 #include "components/drive/service/fake_drive_service.h" | 
|    31 #include "components/drive/service/test_util.h" |    31 #include "components/drive/service/test_util.h" | 
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1055       google_apis::test_util::CreateCopyResultCallback(&available)); |  1055       google_apis::test_util::CreateCopyResultCallback(&available)); | 
|  1056   content::RunAllBlockingPoolTasksUntilIdle(); |  1056   content::RunAllBlockingPoolTasksUntilIdle(); | 
|  1057   ASSERT_FALSE(available); |  1057   ASSERT_FALSE(available); | 
|  1058  |  1058  | 
|  1059   entry = GetResourceEntrySync(file_in_root); |  1059   entry = GetResourceEntrySync(file_in_root); | 
|  1060   ASSERT_TRUE(entry); |  1060   ASSERT_TRUE(entry); | 
|  1061   EXPECT_FALSE(entry->file_specific_info().cache_state().is_present()); |  1061   EXPECT_FALSE(entry->file_specific_info().cache_state().is_present()); | 
|  1062 } |  1062 } | 
|  1063  |  1063  | 
|  1064 }   // namespace drive |  1064 }   // namespace drive | 
| OLD | NEW |