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

Unified Diff: apps/launcher.cc

Issue 23146016: Add support for directory access to the file system API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@simpler-write-permissions
Patch Set: Created 7 years, 4 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
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | apps/saved_files_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/launcher.cc
diff --git a/apps/launcher.cc b/apps/launcher.cc
index d3bc43c1d66c905017bf663c4124cc32b7cbfada..684379016a38c5a64b36d6d6864cc1326dcf1d42 100644
--- a/apps/launcher.cc
+++ b/apps/launcher.cc
@@ -133,6 +133,7 @@ class PlatformAppPathLauncher
CheckWritableFiles(
paths,
profile_,
+ false,
base::Bind(&PlatformAppPathLauncher::OnFileValid, this),
base::Bind(&PlatformAppPathLauncher::OnFileInvalid, this));
return;
@@ -283,8 +284,12 @@ class PlatformAppPathLauncher
return;
}
- GrantedFileEntry file_entry = CreateFileEntry(
- profile_, extension_, host->render_process_host()->GetID(), file_path_);
+ GrantedFileEntry file_entry =
+ CreateFileEntry(profile_,
+ extension_,
+ host->render_process_host()->GetID(),
+ file_path_,
+ false);
extensions::AppEventRouter::DispatchOnLaunchedEventWithFileEntry(
profile_, extension_, handler_id_, mime_type, file_entry);
}
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | apps/saved_files_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698