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

Unified Diff: chrome/browser/platform_util.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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/parsers/metadata_parser_manager.h ('k') | chrome/browser/platform_util_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util.h
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h
index 44fde5da77fa513dfacc706e832b90ca3ba3fa47..629d7566ce39665bee00e6b6476829cebc6ced93 100644
--- a/chrome/browser/platform_util.h
+++ b/chrome/browser/platform_util.h
@@ -10,18 +10,21 @@
#include "base/string16.h"
#include "ui/gfx/native_widget_types.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
+
namespace platform_util {
// Show the given file in a file manager. If possible, select the file.
// Must be called from the UI thread.
-void ShowItemInFolder(const FilePath& full_path);
+void ShowItemInFolder(const base::FilePath& full_path);
// Open the given file in the desktop's default manner.
// Must be called from the UI thread.
-void OpenItem(const FilePath& full_path);
+void OpenItem(const base::FilePath& full_path);
// Open the given external protocol URL in the desktop's default manner.
// (For example, mailto: URLs in the default mail user agent.)
« no previous file with comments | « chrome/browser/parsers/metadata_parser_manager.h ('k') | chrome/browser/platform_util_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698