Index: chrome/browser/extensions/extension_file_browser_private_api.cc |
=================================================================== |
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 95908) |
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy) |
@@ -1212,7 +1212,7 @@ |
std::string mount_path; |
if (!args_->GetString(0, &mount_path)) { |
- return false; |
+ return false; |
} |
UrlList file_paths; |
@@ -1244,7 +1244,6 @@ |
SendResponse(true); |
} |
- |
GetMountPointsFunction::GetMountPointsFunction() { |
} |
@@ -1258,7 +1257,7 @@ |
base::ListValue *mounts = new base::ListValue(); |
result_.reset(mounts); |
-#ifdef OS_CHROMEOS |
+ #ifdef OS_CHROMEOS |
chromeos::MountLibrary *mount_lib = |
chromeos::CrosLibrary::Get()->GetMountLibrary(); |
chromeos::MountLibrary::MountPointMap mount_points = |
@@ -1271,37 +1270,10 @@ |
mounts->Append(MountPointToValue(profile_, it->second)); |
} |
#endif |
- |
SendResponse(true); |
return true; |
} |
-FormatDeviceFunction::FormatDeviceFunction() { |
-} |
- |
-FormatDeviceFunction::~FormatDeviceFunction() { |
-} |
- |
-bool FormatDeviceFunction::RunImpl() { |
- if (args_->GetSize() != 1) { |
- return false; |
- } |
- |
- std::string volume_mount_path; |
- if (!args_->GetString(0, &volume_mount_path)) { |
- NOTREACHED(); |
- return false; |
- } |
- |
-#ifdef OS_CHROMEOS |
- chromeos::CrosLibrary::Get()->GetMountLibrary()->FormatMountedDevice( |
- volume_mount_path.c_str()); |
-#endif |
- |
- SendResponse(true); |
- return true; |
-} |
- |
GetVolumeMetadataFunction::GetVolumeMetadataFunction() { |
} |
@@ -1453,8 +1425,6 @@ |
SET_STRING(IDS_FILE_BROWSER, CONFIRM_DELETE_ONE); |
SET_STRING(IDS_FILE_BROWSER, CONFIRM_DELETE_SOME); |
- SET_STRING(IDS_FILE_BROWSER, FORMATTING_WARNING); |
- |
SET_STRING(IDS_FILE_BROWSER, SELECT_FOLDER_TITLE); |
SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_FILE_TITLE); |
SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_MULTI_FILE_TITLE); |