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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

Issue 8574054: Replace FileManagerUtil class with namespace file_manager_util. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/extensions/file_manager_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_file_browser_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 110538)
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
@@ -275,9 +275,9 @@
if (mount_point_info.mount_type == chromeos::MOUNT_TYPE_ARCHIVE) {
GURL source_url;
- if (FileManagerUtil::ConvertFileToFileSystemUrl(profile,
+ if (file_manager_util::ConvertFileToFileSystemUrl(profile,
FilePath(mount_point_info.source_path),
- FileManagerUtil::GetFileBrowserExtensionUrl().GetOrigin(),
+ file_manager_util::GetFileBrowserExtensionUrl().GetOrigin(),
&source_url)) {
mount_info->SetString("sourceUrl", source_url.spec());
}
@@ -288,7 +288,7 @@
FilePath relative_mount_path;
// Convert mount point path to relative path with the external file system
// exposed within File API.
- if (FileManagerUtil::ConvertFileToRelativeFileSystemPath(profile,
+ if (file_manager_util::ConvertFileToRelativeFileSystemPath(profile,
FilePath(mount_point_info.mount_path),
&relative_mount_path)) {
mount_info->SetString("mountPath", relative_mount_path.value());
@@ -1124,8 +1124,8 @@
for (FilePathList::const_iterator iter = files.begin();
iter != files.end();
++iter) {
- FileManagerUtil::ViewItem(*iter,
- internal_task_id == kEnqueueTaskId ||
+ file_manager_util::ViewItem(*iter,
+ internal_task_id == kEnqueueTaskId ||
// Start the first one, enqueue others.
iter != files.begin());
}
@@ -1465,7 +1465,7 @@
std::string mount_path;
if (!volume->mount_path().empty()) {
FilePath relative_mount_path;
- FileManagerUtil::ConvertFileToRelativeFileSystemPath(profile_,
+ file_manager_util::ConvertFileToRelativeFileSystemPath(profile_,
FilePath(volume->mount_path()), &relative_mount_path);
mount_path = relative_mount_path.value();
}
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/extensions/file_manager_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698