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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc

Issue 23903016: file_manager: Rename root_path to root_url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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/browser/chromeos/extensions/file_manager/private_api_file_system.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
index 8b7f3071d6299224c67001924236ceab5bb4dda4..ee30bbe3175bfbfc6d4e79aa2ada080ab3c490b5 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
@@ -189,7 +189,7 @@ void FileBrowserPrivateRequestFileSystemFunction::DidOpenFileSystem(
scoped_refptr<fileapi::FileSystemContext> file_system_context,
base::PlatformFileError result,
const std::string& name,
- const GURL& root_path) {
+ const GURL& root_url) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (result != base::PLATFORM_FILE_OK) {
@@ -224,7 +224,7 @@ void FileBrowserPrivateRequestFileSystemFunction::DidOpenFileSystem(
DictionaryValue* dict = new DictionaryValue();
SetResult(dict);
dict->SetString("name", name);
- dict->SetString("path", root_path.spec());
+ dict->SetString("root_url", root_url.spec());
dict->SetInteger("error", drive::FILE_ERROR_OK);
SendResponse(true);
}

Powered by Google App Engine
This is Rietveld 408576698