| 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 "content/browser/indexed_db/indexed_db_quota_client.h" | 5 #include "content/browser/indexed_db/indexed_db_quota_client.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 10 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 } | 168 } |
| 169 | 169 |
| 170 base::PostTaskAndReplyWithResult( | 170 base::PostTaskAndReplyWithResult( |
| 171 indexed_db_context_->TaskRunner(), | 171 indexed_db_context_->TaskRunner(), |
| 172 FROM_HERE, | 172 FROM_HERE, |
| 173 base::Bind( | 173 base::Bind( |
| 174 &DeleteOriginDataOnIndexedDBThread, indexed_db_context_, origin), | 174 &DeleteOriginDataOnIndexedDBThread, indexed_db_context_, origin), |
| 175 callback); | 175 callback); |
| 176 } | 176 } |
| 177 | 177 |
| 178 bool IndexedDBQuotaClient::DoesSupport(quota::StorageType type) const { |
| 179 return type == quota::kStorageTypeTemporary; |
| 180 } |
| 181 |
| 178 } // namespace content | 182 } // namespace content |
| OLD | NEW |