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

Unified Diff: webkit/plugins/npapi/plugin_host.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « webkit/mocks/mock_resource_loader_bridge.h ('k') | webkit/plugins/npapi/plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_host.cc
diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc
index a54c0ba391010a97f1b7cfeb498ec06afce39b16..5cea951adfcd7ff34fd3e0257812e10a329891d9 100644
--- a/webkit/plugins/npapi/plugin_host.cc
+++ b/webkit/plugins/npapi/plugin_host.cc
@@ -467,14 +467,14 @@ static NPError PostURLNotify(NPP id,
return NPERR_FILE_NOT_FOUND;
std::string file_path_ascii(buf);
- FilePath file_path;
+ base::FilePath file_path;
static const char kFileUrlPrefix[] = "file:";
if (StartsWithASCII(file_path_ascii, kFileUrlPrefix, false)) {
GURL file_url(file_path_ascii);
DCHECK(file_url.SchemeIsFile());
net::FileURLToFilePath(file_url, &file_path);
} else {
- file_path = FilePath::FromWStringHack(
+ file_path = base::FilePath::FromWStringHack(
base::SysNativeMBToWide(file_path_ascii));
}
« no previous file with comments | « webkit/mocks/mock_resource_loader_bridge.h ('k') | webkit/plugins/npapi/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698