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/base/path_service.h b/base/path_service.h
index 8a7defe..832b92b 100644
--- a/base/path_service.h
+++ b/base/path_service.h
@@ -12,9 +12,8 @@
 #include "base/gtest_prod_util.h"
 #include "build/build_config.h"
 
-class FilePath;
-
 namespace base {
+class FilePath;
 class ScopedPathOverride;
 }  // namespace
 
@@ -30,7 +29,7 @@
   //
   // Returns true if the directory or file was successfully retrieved. On
   // failure, 'path' will not be changed.
-  static bool Get(int key, FilePath* path);
+  static bool Get(int key, base::FilePath* path);
 
   // Overrides the path to a special directory or file.  This cannot be used to
   // change the value of DIR_CURRENT, but that should be obvious.  Also, if the
@@ -42,13 +41,13 @@
   //
   // WARNING: Consumers of PathService::Get may expect paths to be constant
   // over the lifetime of the app, so this method should be used with caution.
-  static bool Override(int key, const FilePath& path);
+  static bool Override(int key, const base::FilePath& path);
 
   // This function does the same as PathService::Override but it takes an extra
   // parameter |create| which guides whether the directory to be overriden must
   // be created in case it doesn't exist already.
   static bool OverrideAndCreateIfNeeded(int key,
-                                        const FilePath& path,
+                                        const base::FilePath& path,
                                         bool create);
 
   // To extend the set of supported keys, you can register a path provider,
@@ -59,7 +58,7 @@
   // WARNING: This function could be called on any thread from which the
   // PathService is used, so a the ProviderFunc MUST BE THREADSAFE.
   //
-  typedef bool (*ProviderFunc)(int, FilePath*);
+  typedef bool (*ProviderFunc)(int, base::FilePath*);
 
   // Call to register a path provider.  You must specify the range "[key_start,
   // key_end)" of supported path keys.