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
diff --git a/webkit/fileapi/file_system_url.cc b/webkit/fileapi/file_system_url.cc
index 7d88f141..5f38e53d 100644
--- a/webkit/fileapi/file_system_url.cc
+++ b/webkit/fileapi/file_system_url.cc
@@ -21,7 +21,7 @@
 bool ParseFileSystemURL(const GURL& url,
                         GURL* origin_url,
                         FileSystemType* type,
-                        FilePath* file_path) {
+                        base::FilePath* file_path) {
   GURL origin;
   FileSystemType file_system_type = kFileSystemTypeUnknown;
 
@@ -60,7 +60,7 @@
   while (!path.empty() && path[0] == '/')
     path.erase(0, 1);
 
-  FilePath converted_path = FilePath::FromUTF8Unsafe(path);
+  base::FilePath converted_path = base::FilePath::FromUTF8Unsafe(path);
 
   // All parent references should have been resolved in the renderer.
   if (converted_path.ReferencesParent())
@@ -92,7 +92,7 @@
 
 FileSystemURL FileSystemURL::CreateForTest(const GURL& origin,
                                            FileSystemType type,
-                                           const FilePath& path) {
+                                           const base::FilePath& path) {
   return FileSystemURL(origin, type, path);
 }
 
@@ -105,7 +105,7 @@
 
 FileSystemURL::FileSystemURL(const GURL& origin,
                              FileSystemType type,
-                             const FilePath& path)
+                             const base::FilePath& path)
     : is_valid_(true),
       origin_(origin),
       type_(type),
@@ -115,10 +115,10 @@
 
 FileSystemURL::FileSystemURL(const GURL& origin,
                              FileSystemType original_type,
-                             const FilePath& original_path,
+                             const base::FilePath& original_path,
                              const std::string& filesystem_id,
                              FileSystemType cracked_type,
-                             const FilePath& cracked_path)
+                             const base::FilePath& cracked_path)
     : is_valid_(true),
       origin_(origin),
       type_(cracked_type),
@@ -149,7 +149,7 @@
   return ss.str();
 }
 
-FileSystemURL FileSystemURL::WithPath(const FilePath& path) const {
+FileSystemURL FileSystemURL::WithPath(const base::FilePath& path) const {
   FileSystemURL url = *this;
   url.path_ = path;
   url.virtual_path_.clear();