| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "storage/browser/database/database_quota_client.h" | 5 #include "storage/browser/database/database_quota_client.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/bind.h" | 12 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
| 14 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/task_runner_util.h" | 15 #include "base/task_runner_util.h" |
| 16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
| 17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 18 #include "net/base/url_util.h" | 18 #include "net/base/url_util.h" |
| 19 #include "storage/browser/database/database_tracker.h" | 19 #include "storage/browser/database/database_tracker.h" |
| 20 #include "storage/browser/database/database_util.h" | 20 #include "storage/browser/database/database_util.h" |
| 21 #include "storage/common/database/database_identifier.h" | 21 #include "storage/common/database/database_identifier.h" |
| 22 | 22 |
| 23 using storage::QuotaClient; | 23 using storage::QuotaClient; |
| 24 | 24 |
| 25 namespace storage { | 25 namespace storage { |
| 26 | 26 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 storage::GetIdentifierFromOrigin(origin), | 204 storage::GetIdentifierFromOrigin(origin), |
| 205 delete_callback), | 205 delete_callback), |
| 206 delete_callback); | 206 delete_callback); |
| 207 } | 207 } |
| 208 | 208 |
| 209 bool DatabaseQuotaClient::DoesSupport(storage::StorageType type) const { | 209 bool DatabaseQuotaClient::DoesSupport(storage::StorageType type) const { |
| 210 return type == storage::kStorageTypeTemporary; | 210 return type == storage::kStorageTypeTemporary; |
| 211 } | 211 } |
| 212 | 212 |
| 213 } // namespace storage | 213 } // namespace storage |
| OLD | NEW |