| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 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/quota_file_util.h" | 5 #include "webkit/fileapi/quota_file_util.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "webkit/fileapi/file_system_context.h" | 9 #include "webkit/fileapi/file_system_context.h" |
| 10 #include "webkit/fileapi/file_system_operation_context.h" | 10 #include "webkit/fileapi/file_system_operation_context.h" |
| 11 #include "webkit/fileapi/file_system_path_manager.h" | |
| 12 #include "webkit/fileapi/file_system_quota_util.h" | 11 #include "webkit/fileapi/file_system_quota_util.h" |
| 13 #include "webkit/fileapi/native_file_util.h" | 12 #include "webkit/fileapi/native_file_util.h" |
| 14 #include "webkit/quota/quota_manager.h" | 13 #include "webkit/quota/quota_manager.h" |
| 15 | 14 |
| 16 using quota::QuotaManagerProxy; | 15 using quota::QuotaManagerProxy; |
| 17 | 16 |
| 18 namespace fileapi { | 17 namespace fileapi { |
| 19 | 18 |
| 20 const int64 QuotaFileUtil::kNoLimit = kint64max; | 19 const int64 QuotaFileUtil::kNoLimit = kint64max; |
| 21 | 20 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 if (error == base::PLATFORM_FILE_OK) | 162 if (error == base::PLATFORM_FILE_OK) |
| 164 NotifyUpdate(fs_context, | 163 NotifyUpdate(fs_context, |
| 165 fs_context->src_origin_url(), | 164 fs_context->src_origin_url(), |
| 166 fs_context->src_type(), | 165 fs_context->src_type(), |
| 167 growth); | 166 growth); |
| 168 | 167 |
| 169 return error; | 168 return error; |
| 170 } | 169 } |
| 171 | 170 |
| 172 } // namespace fileapi | 171 } // namespace fileapi |
| OLD | NEW |