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 "base/run_loop.h" | 5 #include "base/run_loop.h" |
6 #include "base/stl_util.h" | 6 #include "base/stl_util.h" |
7 #include "chrome/browser/chromeos/drive/file_change.h" | 7 #include "chrome/browser/chromeos/drive/file_change.h" |
8 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" | 8 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" |
9 #include "chrome/browser/chromeos/file_manager/drive_test_util.h" | |
10 #include "chrome/browser/chromeos/file_manager/file_watcher.h" | 9 #include "chrome/browser/chromeos/file_manager/file_watcher.h" |
| 10 #include "chrome/browser/chromeos/file_manager/mount_test_util.h" |
11 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 11 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
12 #include "chrome/browser/extensions/extension_apitest.h" | 12 #include "chrome/browser/extensions/extension_apitest.h" |
13 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy
stem_provider_capabilities_handler.h" | 13 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy
stem_provider_capabilities_handler.h" |
14 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
15 #include "chrome/test/base/ui_test_utils.h" | 15 #include "chrome/test/base/ui_test_utils.h" |
16 #include "chromeos/dbus/cros_disks_client.h" | 16 #include "chromeos/dbus/cros_disks_client.h" |
17 #include "chromeos/disks/mock_disk_mount_manager.h" | 17 #include "chromeos/disks/mock_disk_mount_manager.h" |
18 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
19 #include "extensions/common/install_warning.h" | 19 #include "extensions/common/install_warning.h" |
20 #include "google_apis/drive/test_util.h" | 20 #include "google_apis/drive/test_util.h" |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 ->RegisterFileSystem( | 437 ->RegisterFileSystem( |
438 kLocalMountPointName, storage::kFileSystemTypeNativeLocal, | 438 kLocalMountPointName, storage::kFileSystemTypeNativeLocal, |
439 storage::FileSystemMountOption(), mount_point_dir)); | 439 storage::FileSystemMountOption(), mount_point_dir)); |
440 file_manager::VolumeManager::Get(browser()->profile()) | 440 file_manager::VolumeManager::Get(browser()->profile()) |
441 ->AddVolumeForTesting(mount_point_dir, file_manager::VOLUME_TYPE_TESTING, | 441 ->AddVolumeForTesting(mount_point_dir, file_manager::VOLUME_TYPE_TESTING, |
442 chromeos::DEVICE_TYPE_UNKNOWN, | 442 chromeos::DEVICE_TYPE_UNKNOWN, |
443 false /* read_only */); | 443 false /* read_only */); |
444 | 444 |
445 ASSERT_TRUE(RunComponentExtensionTest("file_browser/content_checksum_test")); | 445 ASSERT_TRUE(RunComponentExtensionTest("file_browser/content_checksum_test")); |
446 } | 446 } |
OLD | NEW |