Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |