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

Unified Diff: chrome/common/file_system/file_system_dispatcher.cc

Issue 4350001: Added ability to propogate create to suggest whether or not filesystem's root... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « chrome/common/file_system/file_system_dispatcher.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/file_system/file_system_dispatcher.cc
===================================================================
--- chrome/common/file_system/file_system_dispatcher.cc (revision 64806)
+++ chrome/common/file_system/file_system_dispatcher.cc (working copy)
@@ -41,10 +41,11 @@
bool FileSystemDispatcher::OpenFileSystem(
const GURL& origin_url, fileapi::FileSystemType type,
- long long size, fileapi::FileSystemCallbackDispatcher* dispatcher) {
+ long long size, bool create,
+ fileapi::FileSystemCallbackDispatcher* dispatcher) {
int request_id = dispatchers_.Add(dispatcher);
if (!ChildThread::current()->Send(new ViewHostMsg_OpenFileSystemRequest(
- request_id, origin_url, type, size))) {
+ request_id, origin_url, type, size, create))) {
dispatchers_.Remove(request_id); // destroys |dispatcher|
return false;
}
« no previous file with comments | « chrome/common/file_system/file_system_dispatcher.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698