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 <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" | 11 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system
.h" |
12 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 12 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
13 #include "chrome/browser/chromeos/file_system_provider/observer.h" | 13 #include "chrome/browser/chromeos/file_system_provider/observer.h" |
14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
15 #include "chrome/browser/chromeos/file_system_provider/service.h" | 15 #include "chrome/browser/chromeos/file_system_provider/service.h" |
16 #include "chrome/browser/chromeos/login/fake_user_manager.h" | 16 #include "chrome/browser/chromeos/login/users/fake_user_manager.h" |
17 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
18 #include "content/public/test/test_browser_thread_bundle.h" | 18 #include "content/public/test/test_browser_thread_bundle.h" |
19 #include "extensions/browser/extension_registry.h" | 19 #include "extensions/browser/extension_registry.h" |
20 #include "extensions/common/extension.h" | 20 #include "extensions/common/extension.h" |
21 #include "extensions/common/manifest_constants.h" | 21 #include "extensions/common/manifest_constants.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 #include "webkit/browser/fileapi/external_mount_points.h" | 23 #include "webkit/browser/fileapi/external_mount_points.h" |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
26 namespace file_system_provider { | 26 namespace file_system_provider { |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 287 |
288 std::vector<ProvidedFileSystemInfo> file_system_info_list = | 288 std::vector<ProvidedFileSystemInfo> file_system_info_list = |
289 file_system_provider_service_->GetProvidedFileSystemInfoList(); | 289 file_system_provider_service_->GetProvidedFileSystemInfoList(); |
290 ASSERT_EQ(1u, file_system_info_list.size()); | 290 ASSERT_EQ(1u, file_system_info_list.size()); |
291 | 291 |
292 file_system_provider_service_->RemoveObserver(&observer); | 292 file_system_provider_service_->RemoveObserver(&observer); |
293 } | 293 } |
294 | 294 |
295 } // namespace file_system_provider | 295 } // namespace file_system_provider |
296 } // namespace chromeos | 296 } // namespace chromeos |
OLD | NEW |