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 "webkit/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/sequenced_task_runner.h" | 12 #include "base/sequenced_task_runner.h" |
13 #include "webkit/browser/fileapi/file_system_usage_cache.h" | 13 #include "webkit/browser/fileapi/file_system_usage_cache.h" |
14 #include "webkit/browser/quota/quota_client.h" | 14 #include "webkit/browser/quota/quota_client.h" |
15 #include "webkit/browser/quota/quota_manager.h" | 15 #include "webkit/browser/quota/quota_manager_proxy.h" |
16 #include "webkit/common/fileapi/file_system_util.h" | 16 #include "webkit/common/fileapi/file_system_util.h" |
17 | 17 |
18 namespace fileapi { | 18 namespace fileapi { |
19 | 19 |
20 QuotaBackendImpl::QuotaBackendImpl( | 20 QuotaBackendImpl::QuotaBackendImpl( |
21 base::SequencedTaskRunner* file_task_runner, | 21 base::SequencedTaskRunner* file_task_runner, |
22 ObfuscatedFileUtil* obfuscated_file_util, | 22 ObfuscatedFileUtil* obfuscated_file_util, |
23 FileSystemUsageCache* file_system_usage_cache, | 23 FileSystemUsageCache* file_system_usage_cache, |
24 quota::QuotaManagerProxy* quota_manager_proxy) | 24 quota::QuotaManagerProxy* quota_manager_proxy) |
25 : file_task_runner_(file_task_runner), | 25 : file_task_runner_(file_task_runner), |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 147 |
148 QuotaBackendImpl::QuotaReservationInfo::QuotaReservationInfo( | 148 QuotaBackendImpl::QuotaReservationInfo::QuotaReservationInfo( |
149 const GURL& origin, FileSystemType type, int64 delta) | 149 const GURL& origin, FileSystemType type, int64 delta) |
150 : origin(origin), type(type), delta(delta) { | 150 : origin(origin), type(type), delta(delta) { |
151 } | 151 } |
152 | 152 |
153 QuotaBackendImpl::QuotaReservationInfo::~QuotaReservationInfo() { | 153 QuotaBackendImpl::QuotaReservationInfo::~QuotaReservationInfo() { |
154 } | 154 } |
155 | 155 |
156 } // namespace fileapi | 156 } // namespace fileapi |
OLD | NEW |