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

Unified Diff: chrome/browser/extensions/api/app/app_api.cc

Issue 10713007: Make isolated file system works for a device root (e.g. X:\\) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 5 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/extensions/api/app/app_api.cc
diff --git a/chrome/browser/extensions/api/app/app_api.cc b/chrome/browser/extensions/api/app/app_api.cc
index 611ac85edb74526ac6ef8bc6a244434fd5be4fcb..9a2364cdbf549504cd8137dad3e67534221402c2 100644
--- a/chrome/browser/extensions/api/app/app_api.cc
+++ b/chrome/browser/extensions/api/app/app_api.cc
@@ -128,7 +128,7 @@ void AppEventRouter::DispatchOnLaunchedEvent(
// static.
void AppEventRouter::DispatchOnLaunchedEventWithFileEntry(
Profile* profile, const Extension* extension, const string16& action,
- const std::string& file_system_id, const FilePath& base_name) {
+ const std::string& file_system_id, const std::string& base_name) {
ListValue args;
DictionaryValue* launch_data = new DictionaryValue();
DictionaryValue* intent = new DictionaryValue();
@@ -139,7 +139,7 @@ void AppEventRouter::DispatchOnLaunchedEventWithFileEntry(
DictionaryValue* intent_data = new DictionaryValue();
intent_data->SetString("format", "fileEntry");
intent_data->SetString("fileSystemId", file_system_id);
- intent_data->SetString("baseName", base_name.value());
+ intent_data->SetString("baseName", base_name);
args.Append(intent_data);
std::string json_args;
base::JSONWriter::Write(&args, &json_args);
« no previous file with comments | « chrome/browser/extensions/api/app/app_api.h ('k') | chrome/browser/extensions/api/file_system/file_system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698