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

Unified Diff: chrome/renderer/extensions/file_browser_private_custom_bindings.cc

Issue 23903016: file_manager: Rename root_path to root_url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/renderer/extensions/file_browser_private_custom_bindings.cc
diff --git a/chrome/renderer/extensions/file_browser_private_custom_bindings.cc b/chrome/renderer/extensions/file_browser_private_custom_bindings.cc
index 36ba9b0f8e4fda9c1c1e2f5550d9d36cae698f81..1a287630b9a465ac729402cf7e276d7f4e238154 100644
--- a/chrome/renderer/extensions/file_browser_private_custom_bindings.cc
+++ b/chrome/renderer/extensions/file_browser_private_custom_bindings.cc
@@ -32,7 +32,7 @@ void FileBrowserPrivateCustomBindings::GetFileSystem(
DCHECK(args[0]->IsString());
DCHECK(args[1]->IsString());
std::string name(*v8::String::Utf8Value(args[0]));
- std::string path(*v8::String::Utf8Value(args[1]));
+ std::string root_url(*v8::String::Utf8Value(args[1]));
WebKit::WebFrame* webframe =
WebKit::WebFrame::frameForContext(context()->v8_context());
@@ -41,7 +41,7 @@ void FileBrowserPrivateCustomBindings::GetFileSystem(
webframe->createFileSystem(
WebKit::WebFileSystemTypeExternal,
WebKit::WebString::fromUTF8(name.c_str()),
- WebKit::WebString::fromUTF8(path.c_str())));
+ WebKit::WebString::fromUTF8(root_url.c_str())));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698