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

Side by Side Diff: webkit/fileapi/file_system_operation.cc

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
Aaron Boodman 2011/04/12 22:47:21 Unnecessary change.
zel 2011/04/13 17:49:55 remains of merge+revert+merge+revert. reverted now
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/fileapi/file_system_operation.h" 5 #include "webkit/fileapi/file_system_operation.h"
6 6
7 #include "base/time.h" 7 #include "base/time.h"
8 #include "net/url_request/url_request_context.h" 8 #include "net/url_request/url_request_context.h"
9 #include "webkit/fileapi/file_system_callback_dispatcher.h" 9 #include "webkit/fileapi/file_system_callback_dispatcher.h"
10 #include "webkit/fileapi/file_system_context.h" 10 #include "webkit/fileapi/file_system_context.h"
11 #include "webkit/fileapi/file_system_file_util_proxy.h" 11 #include "webkit/fileapi/file_system_file_util_proxy.h"
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 } 589 }
590 // TODO(kinuko): the check must be moved to QuotaFileSystemFileUtil. 590 // TODO(kinuko): the check must be moved to QuotaFileSystemFileUtil.
591 if (!file_system_context()->IsStorageUnlimited(*origin_url)) { 591 if (!file_system_context()->IsStorageUnlimited(*origin_url)) {
592 dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_NO_SPACE); 592 dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_NO_SPACE);
593 return false; 593 return false;
594 } 594 }
595 return true; 595 return true;
596 } 596 }
597 597
598 } // namespace fileapi 598 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698