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 "chrome/browser/chromeos/file_system_provider/provided_file_system.h" | 5 #include "chrome/browser/chromeos/file_system_provider/provided_file_system.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/file.h" | 12 #include "base/files/file.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/thread_task_runner_handle.h" | 18 #include "base/threading/thread_task_runner_handle.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 20 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
21 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" | 21 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" |
22 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 22 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
23 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 23 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
24 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse
rver.h" | 24 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse
rver.h" |
25 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" | 25 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" |
26 #include "chrome/browser/chromeos/file_system_provider/watcher.h" | 26 #include "chrome/browser/chromeos/file_system_provider/watcher.h" |
27 #include "chrome/common/extensions/api/file_system_provider.h" | 27 #include "chrome/common/extensions/api/file_system_provider.h" |
28 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy
stem_provider_capabilities_handler.h" | 28 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy
stem_provider_capabilities_handler.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 | 916 |
917 ASSERT_EQ(1u, close_log.size()); | 917 ASSERT_EQ(1u, close_log.size()); |
918 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, close_log[0]); | 918 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, close_log[0]); |
919 EXPECT_EQ(0u, opened_files.size()); | 919 EXPECT_EQ(0u, opened_files.size()); |
920 | 920 |
921 provided_file_system_->RemoveObserver(&observer); | 921 provided_file_system_->RemoveObserver(&observer); |
922 } | 922 } |
923 | 923 |
924 } // namespace file_system_provider | 924 } // namespace file_system_provider |
925 } // namespace chromeos | 925 } // namespace chromeos |
OLD | NEW |