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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: content/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 3d07a60686fba145b164992813c2ba0383eec4ef..1ea54d1d9460ea376f238cea0df3b6e638d308a2 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -74,7 +74,7 @@ PpapiPluginProcessHost::~PpapiPluginProcessHost() {
// static
PpapiPluginProcessHost* PpapiPluginProcessHost::CreatePluginHost(
const PepperPluginInfo& info,
- const FilePath& profile_data_directory,
+ const base::FilePath& profile_data_directory,
net::HostResolver* host_resolver) {
PpapiPluginProcessHost* plugin_host = new PpapiPluginProcessHost(
info, profile_data_directory, host_resolver);
@@ -166,7 +166,7 @@ void PpapiPluginProcessHost::OpenChannelToPlugin(Client* client) {
PpapiPluginProcessHost::PpapiPluginProcessHost(
const PepperPluginInfo& info,
- const FilePath& profile_data_directory,
+ const base::FilePath& profile_data_directory,
net::HostResolver* host_resolver)
: permissions_(
ppapi::PpapiPermissions::GetForCommandLine(info.permissions)),
@@ -202,7 +202,7 @@ PpapiPluginProcessHost::PpapiPluginProcessHost()
// The plugin name and profile data directory shouldn't be needed for the
// broker.
std::string plugin_name;
- FilePath profile_data_directory;
+ base::FilePath profile_data_directory;
host_impl_.reset(new BrowserPpapiHostImpl(this, permissions, plugin_name,
profile_data_directory,
process_->GetData().type));
@@ -230,7 +230,7 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
#else
int flags = ChildProcessHost::CHILD_NORMAL;
#endif
- FilePath exe_path = ChildProcessHost::GetChildPath(flags);
+ base::FilePath exe_path = ChildProcessHost::GetChildPath(flags);
if (exe_path.empty())
return false;
@@ -284,7 +284,7 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
#endif // OS_POSIX
process_->Launch(
#if defined(OS_WIN)
- FilePath(),
+ base::FilePath(),
#elif defined(OS_POSIX)
use_zygote,
base::EnvironmentVector(),
« no previous file with comments | « content/browser/ppapi_plugin_process_host.h ('k') | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698