summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 05:12:33 +0000
commita3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch)
treebdd4dac76e6034ef6cf33450e203269a715ea0e6 /win8/metro_driver
parent8bc574c57115e9ffd0169f33131c0865997dcb35 (diff)
downloadchromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.zip
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.gz
chromium_src-a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e.tar.bz2
Add FilePath to base namespace.
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/metro_driver')
-rw-r--r--win8/metro_driver/file_picker_ash.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/win8/metro_driver/file_picker_ash.h b/win8/metro_driver/file_picker_ash.h
index ec8cf6a..4426f5c 100644
--- a/win8/metro_driver/file_picker_ash.h
+++ b/win8/metro_driver/file_picker_ash.h
@@ -10,10 +10,13 @@
#include "base/compiler_specific.h"
#include "base/string16.h"
-class FilePath;
class ChromeAppViewAsh;
struct MetroViewerHostMsg_SaveAsDialogParams;
+namespace base {
+class FilePath;
+}
+
// Base class for the file pickers.
class FilePickerSessionBase {
public:
@@ -79,7 +82,7 @@ class OpenFilePickerSession : public FilePickerSessionBase {
const string16& default_path,
bool allow_multi_select);
- const std::vector<FilePath>& filenames() const {
+ const std::vector<base::FilePath>& filenames() const {
return filenames_;
}
@@ -113,7 +116,7 @@ class OpenFilePickerSession : public FilePickerSessionBase {
bool allow_multi_select_;
// If multi select is true then this member contains the list of filenames
// to be returned back.
- std::vector<FilePath> filenames_;
+ std::vector<base::FilePath> filenames_;
DISALLOW_COPY_AND_ASSIGN(OpenFilePickerSession);
};