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

Unified Diff: chrome/browser/platform_util_chromeos.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
Index: chrome/browser/platform_util_chromeos.cc
===================================================================
--- chrome/browser/platform_util_chromeos.cc (revision 110538)
+++ chrome/browser/platform_util_chromeos.cc (working copy)
@@ -34,13 +34,12 @@
return;
FilePath virtual_path;
- if (!FileManagerUtil::ConvertFileToRelativeFileSystemPath(browser->profile(),
- dir,
- &virtual_path)) {
+ if (!file_manager_util::ConvertFileToRelativeFileSystemPath(
+ browser->profile(), dir, &virtual_path)) {
return;
}
- GURL url = FileManagerUtil::GetFileBrowserUrlWithParams(
+ GURL url = file_manager_util::GetFileBrowserUrlWithParams(
SelectFileDialog::SELECT_NONE, string16(), virtual_path, NULL, 0,
FilePath::StringType());
browser->ShowSingletonTab(url);
@@ -60,9 +59,9 @@
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
base::Closure callback;
if (file_util::DirectoryExists(full_path))
- callback = base::Bind(&FileManagerUtil::ViewFolder, full_path);
+ callback = base::Bind(&file_manager_util::ViewFolder, full_path);
else
- callback = base::Bind(&FileManagerUtil::ViewItem, full_path, false);
+ callback = base::Bind(&file_manager_util::ViewItem, full_path, false);
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback);
}
« no previous file with comments | « chrome/browser/extensions/file_manager_util.cc ('k') | chrome/browser/ui/views/select_file_dialog_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698