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

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: Created 8 years, 6 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 408ecd0b4e5a2d4a7d0120c94327df531a0fe311..259ac2be502974b177e6b8fc80688367764b305a 100644
--- a/chrome/browser/extensions/api/app/app_api.cc
+++ b/chrome/browser/extensions/api/app/app_api.cc
@@ -130,7 +130,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) {
// TODO(benwells): remove this logging.
LOG(ERROR) << "Dispatching onLaunched with file entry.";
ListValue args;
@@ -143,7 +143,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);

Powered by Google App Engine
This is Rietveld 408576698