Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc

Issue 1246753003: Move a subset of chrome/browser/chromeos/drive into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
8 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" 7 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h"
9 #include "chrome/browser/chromeos/file_manager/file_watcher.h" 8 #include "chrome/browser/chromeos/file_manager/file_watcher.h"
10 #include "chrome/browser/chromeos/file_manager/mount_test_util.h" 9 #include "chrome/browser/chromeos/file_manager/mount_test_util.h"
11 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h" 10 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h"
12 #include "chrome/browser/extensions/extension_apitest.h" 11 #include "chrome/browser/extensions/extension_apitest.h"
13 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy stem_provider_capabilities_handler.h" 12 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_sy stem_provider_capabilities_handler.h"
14 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
15 #include "chrome/test/base/ui_test_utils.h" 14 #include "chrome/test/base/ui_test_utils.h"
16 #include "chromeos/dbus/cros_disks_client.h" 15 #include "chromeos/dbus/cros_disks_client.h"
17 #include "chromeos/disks/mock_disk_mount_manager.h" 16 #include "chromeos/disks/mock_disk_mount_manager.h"
17 #include "components/drive/file_change.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"
21 #include "storage/browser/fileapi/external_mount_points.h" 21 #include "storage/browser/fileapi/external_mount_points.h"
22 22
23 using ::testing::_; 23 using ::testing::_;
24 using ::testing::ReturnRef; 24 using ::testing::ReturnRef;
25 25
26 using chromeos::disks::DiskMountManager; 26 using chromeos::disks::DiskMountManager;
27 27
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698