Searched defs:mount_path (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/file_system_provider/
H A Dprovided_file_system_info.cc17 const base::FilePath& mount_path)
22 mount_path_(mount_path) {
12 ProvidedFileSystemInfo( const std::string& extension_id, const std::string& file_system_id, const std::string& display_name, bool writable, const base::FilePath& mount_path) argument
H A Dprovided_file_system_info.h23 const base::FilePath& mount_path);
31 const base::FilePath& mount_path() const { return mount_path_; } function in class:chromeos::file_system_provider::ProvidedFileSystemInfo
H A Dmount_path_util_unittest.cc46 const base::FilePath mount_path = file_system_info.mount_path(); local
55 base::FilePath(mount_path.BaseName().Append(relative_path)));
110 const base::FilePath mount_path = local
115 mount_path.Append(base::FilePath(file_path.value().substr(1)));
117 EXPECT_TRUE(IsFileSystemProviderLocalPath(mount_path));
252 const base::FilePath kLocalFilePath = file_system_info.mount_path().Append(
275 const base::FilePath kLocalFilePath = file_system_info.mount_path();
H A Dprovided_file_system_unittest.cc90 const base::FilePath mount_path = variable
93 kExtensionId, kFileSystemId, kDisplayName, mount_path));
H A Dservice.cc135 const base::FilePath& mount_path = local
137 const std::string mount_point_name = mount_path.BaseName().AsUTF8Unsafe();
142 mount_path)) {
157 // mount_path = /provided/b33f1337-hello_world-5aa5
159 extension_id, file_system_id, display_name, writable, mount_path);
202 file_system_info.mount_path().BaseName().value();
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfake_disk_mount_manager.h34 UnmountRequest(const std::string& mount_path,
37 std::string mount_path; member in struct:file_manager::FakeDiskMountManager::UnmountRequest
64 virtual void UnmountPath(const std::string& mount_path,
67 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE;
H A Dfake_disk_mount_manager.cc24 const std::string& mount_path,
26 : mount_path(mount_path),
90 void FakeDiskMountManager::UnmountPath(const std::string& mount_path, argument
93 unmount_requests_.push_back(UnmountRequest(mount_path, options));
95 MountPointMap::iterator iter = mount_points_.find(mount_path);
107 void FakeDiskMountManager::FormatMountedDevice(const std::string& mount_path) { argument
23 UnmountRequest( const std::string& mount_path, chromeos::UnmountOptions options) argument
H A Dvolume_manager.h91 base::FilePath mount_path; member in struct:file_manager::VolumeInfo
H A Dvolume_manager.cc119 volume_info.mount_path.BaseName().AsUTF8Unsafe());
131 volume_info.mount_path = drive_path;
144 volume_info.mount_path = downloads_path;
159 volume_info.mount_path = path;
173 volume_info.mount_path = base::FilePath(mount_point.mount_path);
175 volume_info.volume_label = volume_info.mount_path.BaseName().AsUTF8Unsafe();
201 volume_info.mount_path = file_system_info.mount_path();
439 if (disk->mount_path()
612 std::string mount_path = local
[all...]
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Ddevice_event_router_unittest.cc68 // Creates a disk instance with |device_path| and |mount_path| for testing.
70 const std::string& mount_path) {
72 mount_path,
93 // Creates a volume info instance with |device_path| and |mount_path| for
96 const std::string& mount_path) {
99 volume_info.mount_path = base::FilePath(mount_path);
69 CreateTestDisk(const std::string& device_path, const std::string& mount_path) argument
95 CreateTestVolumeInfo(const std::string& device_path, const std::string& mount_path) argument
H A Dfile_manager_private_apitest.cc41 std::string mount_path; member in struct:__anon3137::TestMountPoint
190 kTestMountPoints[i].mount_path,
192 kTestMountPoints[i].mount_path,
206 kTestMountPoints[i].mount_path,
H A Dprivate_api_file_system.cc52 // Retrieves total and remaining available size on |mount_path|.
53 void GetSizeStatsOnBlockingPool(const std::string& mount_path, argument
57 if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == 0) {
304 volume_info.mount_path,
440 volume_info.mount_path.value(),
534 volume_info.mount_path.AsUTF8Unsafe());
/external/chromium_org/chromeos/dbus/
H A Dfake_cros_disks_client.cc109 const std::string& mount_path) {
113 MountEntry(error_code, source_path, mount_type, mount_path));
105 SendMountCompletedEvent( MountError error_code, const std::string& source_path, MountType mount_type, const std::string& mount_path) argument
H A Dcros_disks_client.cc83 std::string mount_path; local
87 !reader->PopString(&mount_path)) {
91 static_cast<MountType>(mount_type), mount_path);
H A Dcros_disks_client.h113 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::DiskInfo
202 const std::string& mount_path)
206 mount_path_(mount_path) {
212 const std::string& mount_path() const { return mount_path_; } function in struct:chromeos::MountEntry
199 MountEntry(MountError error_code, const std::string& source_path, MountType mount_type, const std::string& mount_path) argument
/external/chromium_org/chromeos/disks/
H A Ddisk_mount_manager_unittest.cc26 const char* mount_path; member in struct:__anon6149::TestDiskInfo
50 const char* mount_path; member in struct:__anon6149::TestMountPointInfo
59 "/device/mount_path",
85 "/archive/mount_path",
91 "/device/mount_path",
146 bool HasMountPoint(const std::string& mount_path) { argument
149 return mount_points.find(mount_path) != mount_points.end();
157 disk.mount_path,
184 mount_point.mount_path,
223 DiskMountManager::GetInstance()->FormatMountedDevice("/archive/mount_path");
[all...]
H A Ddisk_mount_manager.cc88 virtual void UnmountPath(const std::string& mount_path,
91 UnmountChildMounts(mount_path); variable
92 cros_disks_client_->Unmount(mount_path, options,
97 mount_path),
102 mount_path));
106 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {
107 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path);
109 LOG(ERROR) << "Mount point with path \"" << mount_path << "\" not found.";
110 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, mount_path);
122 UnmountPath(disk->second->mount_path(),
272 std::string mount_path = mount_path_in; local
291 OnUnmountDeviceRecursively( UnmountDeviceRecursivelyCallbackData* cb_data, bool success, const std::string& mount_path) argument
297 OnUnmountPath(UnmountPathCallback(), true, mount_path); local
356 OnUnmountPath(const UnmountPathCallback& callback, bool success, const std::string& mount_path) argument
639 Disk(const std::string& device_path, const std::string& mount_path, const std::string& system_path, const std::string& file_path, const std::string& device_label, const std::string& drive_label, const std::string& vendor_id, const std::string& vendor_name, const std::string& product_id, const std::string& product_name, const std::string& fs_uuid, const std::string& system_path_prefix, DeviceType device_type, uint64 total_size_in_bytes, bool is_parent, bool is_read_only, bool has_media, bool on_boot_device, bool on_removable_device, bool is_hidden) argument
[all...]
H A Ddisk_mount_manager.h55 const std::string& mount_path,
82 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::disks::DiskMountManager::Disk
144 void set_mount_path(const std::string& mount_path) { argument
145 mount_path_ = mount_path;
179 std::string mount_path; member in struct:chromeos::disks::DiskMountManager::MountPointInfo
190 mount_path(mount),
196 // MountPointMap key is mount_path.
268 virtual void UnmountPath(const std::string& mount_path,
273 // Example: mount_path: /media/VOLUME_LABEL
274 virtual void FormatMountedDevice(const std::string& mount_path)
[all...]
/external/chromium_org/components/storage_monitor/
H A Dstorage_monitor_chromeos.cc71 mount_info.mount_path,
83 return MediaStorageUtil::HasDcim(base::FilePath(mount_info.mount_path));
164 if (ContainsKey(mount_map_, mount_info.mount_path)) {
177 MountMap::iterator it = mount_map_.find(mount_info.mount_path);
250 std::string mount_path; local
254 mount_path = info_it->first;
257 if (mount_path.empty()) {
268 manager->UnmountPath(mount_path, chromeos::UNMOUNT_OPTIONS_NONE,
282 if (ContainsKey(mount_map_, mount_info.mount_path)) {
297 mount_map_.insert(std::make_pair(mount_info.mount_path, inf
[all...]
H A Dstorage_monitor_chromeos_unittest.cc322 base::FilePath mount_path = CreateMountPoint(kMountPointA, false); local
324 ASSERT_FALSE(mount_path.empty());
327 mount_path.value(),
344 EXPECT_EQ(mount_path.value(), observer().last_attached().location());
350 base::FilePath mount_path = CreateMountPoint(kMountPointA, true); local
352 ASSERT_FALSE(mount_path.empty());
357 mount_path.value(),
/external/chromium_org/chrome/browser/chromeos/login/
H A Dkiosk_browsertest.cc1102 void SetupFakeDiskMountManagerMountPath(const std::string mount_path) { argument
1105 test_data_dir = test_data_dir.AppendASCII(mount_path);

Completed in 1637 milliseconds