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

Unified Diff: chrome/test/webdriver/commands/chrome_commands.cc

Issue 12286020: Replace FilePath with base::FilePath. (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: chrome/test/webdriver/commands/chrome_commands.cc
diff --git a/chrome/test/webdriver/commands/chrome_commands.cc b/chrome/test/webdriver/commands/chrome_commands.cc
index 87b754294fa321991ea49543bd98554e9c09961a..1b470aa4d9f4658a72c4eb5499d0b5e3804ae464 100644
--- a/chrome/test/webdriver/commands/chrome_commands.cc
+++ b/chrome/test/webdriver/commands/chrome_commands.cc
@@ -74,7 +74,7 @@ void ExtensionsCommand::ExecuteGet(Response* const response) {
}
void ExtensionsCommand::ExecutePost(Response* const response) {
- FilePath::StringType path_string;
+ base::FilePath::StringType path_string;
if (!GetStringParameter("path", &path_string)) {
response->SetError(new Error(kBadRequest, "'path' missing or invalid"));
return;
@@ -82,7 +82,7 @@ void ExtensionsCommand::ExecutePost(Response* const response) {
std::string extension_id;
Error* error = session_->InstallExtension(
- FilePath(path_string), &extension_id);
+ base::FilePath(path_string), &extension_id);
if (error) {
response->SetError(error);
return;

Powered by Google App Engine
This is Rietveld 408576698