| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/browser/fileapi/quota/quota_backend_impl.h" | 5 #include "storage/browser/fileapi/quota/quota_backend_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/numerics/safe_conversions.h" | 12 #include "base/numerics/safe_conversions.h" |
| 13 #include "base/sequenced_task_runner.h" | 13 #include "base/sequenced_task_runner.h" |
| 14 #include "webkit/browser/fileapi/file_system_usage_cache.h" | 14 #include "storage/browser/fileapi/file_system_usage_cache.h" |
| 15 #include "webkit/browser/quota/quota_client.h" | 15 #include "storage/browser/quota/quota_client.h" |
| 16 #include "webkit/browser/quota/quota_manager_proxy.h" | 16 #include "storage/browser/quota/quota_manager_proxy.h" |
| 17 #include "webkit/common/fileapi/file_system_util.h" | 17 #include "storage/common/fileapi/file_system_util.h" |
| 18 | 18 |
| 19 namespace storage { | 19 namespace storage { |
| 20 | 20 |
| 21 QuotaBackendImpl::QuotaBackendImpl( | 21 QuotaBackendImpl::QuotaBackendImpl( |
| 22 base::SequencedTaskRunner* file_task_runner, | 22 base::SequencedTaskRunner* file_task_runner, |
| 23 ObfuscatedFileUtil* obfuscated_file_util, | 23 ObfuscatedFileUtil* obfuscated_file_util, |
| 24 FileSystemUsageCache* file_system_usage_cache, | 24 FileSystemUsageCache* file_system_usage_cache, |
| 25 storage::QuotaManagerProxy* quota_manager_proxy) | 25 storage::QuotaManagerProxy* quota_manager_proxy) |
| 26 : file_task_runner_(file_task_runner), | 26 : file_task_runner_(file_task_runner), |
| 27 obfuscated_file_util_(obfuscated_file_util), | 27 obfuscated_file_util_(obfuscated_file_util), |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 QuotaBackendImpl::QuotaReservationInfo::QuotaReservationInfo( | 164 QuotaBackendImpl::QuotaReservationInfo::QuotaReservationInfo( |
| 165 const GURL& origin, FileSystemType type, int64 delta) | 165 const GURL& origin, FileSystemType type, int64 delta) |
| 166 : origin(origin), type(type), delta(delta) { | 166 : origin(origin), type(type), delta(delta) { |
| 167 } | 167 } |
| 168 | 168 |
| 169 QuotaBackendImpl::QuotaReservationInfo::~QuotaReservationInfo() { | 169 QuotaBackendImpl::QuotaReservationInfo::~QuotaReservationInfo() { |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace storage | 172 } // namespace storage |
| OLD | NEW |