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

/external/chromium_org/chrome/browser/chromeos/file_system_provider/
H A Dprovided_file_system_info.cc16 const base::FilePath& mount_path)
20 mount_path_(mount_path) {
12 ProvidedFileSystemInfo( const std::string& extension_id, const std::string& file_system_id, const std::string& file_system_name, const base::FilePath& mount_path) argument
H A Dprovided_file_system_info.h22 const base::FilePath& mount_path);
29 const base::FilePath& mount_path() const { return mount_path_; } function in class:chromeos::file_system_provider::ProvidedFileSystemInfo
H A Dmount_path_util_unittest.cc43 const base::FilePath mount_path = file_system_info.mount_path(); local
52 base::FilePath(mount_path.BaseName().Append(relative_path)));
H A Dprovided_file_system_unittest.cc95 const base::FilePath mount_path = variable
98 kExtensionId, kFileSystemId, kFileSystemName, mount_path));
H A Dservice.cc130 const base::FilePath& mount_path = local
132 const std::string mount_point_name = mount_path.BaseName().AsUTF8Unsafe();
137 mount_path)) {
151 // mount_path = /provided/b33f1337-41-5aa5
153 extension_id, file_system_id, file_system_name, mount_path);
197 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
63 virtual void UnmountPath(const std::string& mount_path,
66 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE;
H A Dfake_disk_mount_manager.cc23 const std::string& mount_path,
25 : mount_path(mount_path),
87 void FakeDiskMountManager::UnmountPath(const std::string& mount_path, argument
90 unmount_requests_.push_back(UnmountRequest(mount_path, options));
92 MountPointMap::iterator iter = mount_points_.find(mount_path);
104 void FakeDiskMountManager::FormatMountedDevice(const std::string& mount_path) { argument
22 UnmountRequest( const std::string& mount_path, chromeos::UnmountOptions options) argument
H A Dvolume_manager.h92 base::FilePath mount_path; member in struct:file_manager::VolumeInfo
H A Dvolume_manager.cc126 volume_info.mount_path.BaseName().AsUTF8Unsafe());
138 volume_info.mount_path = drive_path;
151 volume_info.mount_path = downloads_path;
166 volume_info.mount_path = path;
180 volume_info.mount_path = base::FilePath(mount_point.mount_path);
182 volume_info.volume_label = volume_info.mount_path.BaseName().AsUTF8Unsafe();
204 volume_info.mount_path = privet_volume_info.volume_path;
220 volume_info.mount_path = file_system_info.mount_path();
700 std::string mount_path = local
[all...]
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_browser_private_apitest.cc40 std::string mount_path; member in struct:__anon3062::TestMountPoint
189 kTestMountPoints[i].mount_path,
191 kTestMountPoints[i].mount_path,
205 kTestMountPoints[i].mount_path,
H A Dprivate_api_file_system.cc51 // Retrieves total and remaining available size on |mount_path|.
52 void GetSizeStatsOnBlockingPool(const std::string& mount_path, argument
56 if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == 0) {
303 volume_info.mount_path,
439 volume_info.mount_path.value(),
533 volume_info.mount_path.AsUTF8Unsafe());
H A Devent_router.cc764 const base::FilePath& mount_path) {
788 mount_path.AppendASCII("DCIM"),
790 base::Bind(&util::OpenRemovableDrive, profile_, mount_path));
795 util::OpenRemovableDrive(profile_, mount_path);
883 volume_info.mount_path);
762 ShowRemovableDeviceInFileManager( VolumeType type, const base::FilePath& mount_path) argument
/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
198 const std::string& mount_path)
202 mount_path_(mount_path) {
208 const std::string& mount_path() const { return mount_path_; } function in struct:chromeos::MountEntry
195 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.cc27 const char* mount_path; member in struct:__anon6044::TestDiskInfo
50 const char* mount_path; member in struct:__anon6044::TestMountPointInfo
59 "/device/mount_path",
84 "/archive/mount_path",
90 "/device/mount_path",
148 bool HasMountPoint(const std::string& mount_path) { argument
151 return mount_points.find(mount_path) != mount_points.end();
159 disk.mount_path,
185 mount_point.mount_path,
224 DiskMountManager::GetInstance()->FormatMountedDevice("/archive/mount_path");
[all...]
H A Ddisk_mount_manager.h55 const std::string& mount_path,
81 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::disks::DiskMountManager::Disk
140 void set_mount_path(const std::string& mount_path) { argument
141 mount_path_ = mount_path;
174 std::string mount_path; member in struct:chromeos::disks::DiskMountManager::MountPointInfo
185 mount_path(mount),
191 // MountPointMap key is mount_path.
257 virtual void UnmountPath(const std::string& mount_path,
262 // Example: mount_path: /media/VOLUME_LABEL
263 virtual void FormatMountedDevice(const std::string& mount_path)
[all...]
H A Ddisk_mount_manager.cc86 virtual void UnmountPath(const std::string& mount_path,
89 UnmountChildMounts(mount_path); variable
90 cros_disks_client_->Unmount(mount_path, options,
95 mount_path),
100 mount_path));
104 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {
105 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path);
107 LOG(ERROR) << "Mount point with path \"" << mount_path << "\" not found.";
108 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, mount_path);
120 UnmountPath(disk->second->mount_path(),
259 std::string mount_path = mount_path_in; local
278 OnUnmountDeviceRecursively( UnmountDeviceRecursivelyCallbackData* cb_data, bool success, const std::string& mount_path) argument
284 OnUnmountPath(UnmountPathCallback(), true, mount_path); local
343 OnUnmountPath(const UnmountPathCallback& callback, bool success, const std::string& mount_path) argument
590 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 is_hidden) argument
[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.cc321 base::FilePath mount_path = CreateMountPoint(kMountPointA, false); local
323 ASSERT_FALSE(mount_path.empty());
326 mount_path.value(),
343 EXPECT_EQ(mount_path.value(), observer().last_attached().location());
349 base::FilePath mount_path = CreateMountPoint(kMountPointA, true); local
351 ASSERT_FALSE(mount_path.empty());
356 mount_path.value(),

Completed in 461 milliseconds