| 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 <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
| 14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 15 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
| 16 #include "base/values.h" | 17 #include "base/values.h" |
| 17 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 18 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
| 18 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" | 19 #include "chrome/browser/chromeos/file_system_provider/notification_manager.h" |
| 19 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 20 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
| 20 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 21 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
| (...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 | 913 |
| 913 ASSERT_EQ(1u, close_log.size()); | 914 ASSERT_EQ(1u, close_log.size()); |
| 914 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, close_log[0]); | 915 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, close_log[0]); |
| 915 EXPECT_EQ(0u, opened_files.size()); | 916 EXPECT_EQ(0u, opened_files.size()); |
| 916 | 917 |
| 917 provided_file_system_->RemoveObserver(&observer); | 918 provided_file_system_->RemoveObserver(&observer); |
| 918 } | 919 } |
| 919 | 920 |
| 920 } // namespace file_system_provider | 921 } // namespace file_system_provider |
| 921 } // namespace chromeos | 922 } // namespace chromeos |
| OLD | NEW |