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/service.h" | 5 #include "chrome/browser/chromeos/file_system_provider/service.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/files/file.h" | 12 #include "base/files/file.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
14 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" | 17 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" |
15 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 18 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
16 #include "chrome/browser/chromeos/file_system_provider/observer.h" | 19 #include "chrome/browser/chromeos/file_system_provider/observer.h" |
17 #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" |
18 #include "chrome/browser/chromeos/file_system_provider/registry_interface.h" | 21 #include "chrome/browser/chromeos/file_system_provider/registry_interface.h" |
19 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" | 22 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" |
20 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" | 23 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 EXPECT_EQ(1u, observer.unmounts.size()); | 546 EXPECT_EQ(1u, observer.unmounts.size()); |
544 EXPECT_FALSE(registry_->file_system_info()); | 547 EXPECT_FALSE(registry_->file_system_info()); |
545 EXPECT_FALSE(registry_->watchers()); | 548 EXPECT_FALSE(registry_->watchers()); |
546 } | 549 } |
547 | 550 |
548 service_->RemoveObserver(&observer); | 551 service_->RemoveObserver(&observer); |
549 } | 552 } |
550 | 553 |
551 } // namespace file_system_provider | 554 } // namespace file_system_provider |
552 } // namespace chromeos | 555 } // namespace chromeos |
OLD | NEW |