diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 05:12:33 +0000 |
commit | a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e (patch) | |
tree | bdd4dac76e6034ef6cf33450e203269a715ea0e6 /content/ppapi_plugin | |
parent | 8bc574c57115e9ffd0169f33131c0865997dcb35 (diff) | |
download | chromium_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 'content/ppapi_plugin')
-rw-r--r-- | content/ppapi_plugin/ppapi_thread.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h index d7fd039..0e21d56 100644 --- a/content/ppapi_plugin/ppapi_thread.h +++ b/content/ppapi_plugin/ppapi_thread.h @@ -28,7 +28,10 @@ #endif class CommandLine; + +namespace base { class FilePath; +} namespace IPC { struct ChannelHandle; @@ -88,7 +91,7 @@ class PpapiThread : public ChildThread, virtual void SetActiveURL(const std::string& url) OVERRIDE; // Message handlers. - void OnLoadPlugin(const FilePath& path, + void OnLoadPlugin(const base::FilePath& path, const ppapi::PpapiPermissions& permissions); void OnCreateChannel(base::ProcessId renderer_pid, int renderer_child_id, @@ -108,7 +111,7 @@ class PpapiThread : public ChildThread, IPC::ChannelHandle* handle); // Sets up the name of the plugin for logging using the given path. - void SavePluginName(const FilePath& path); + void SavePluginName(const base::FilePath& path); // True if running in a broker process rather than a normal plugin process. bool is_broker_; |