| 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 "base/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| 11 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 11 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
| 12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 13 #include "net/base/net_util.h" | 13 #include "net/base/net_util.h" |
| 14 #include "webkit/browser/database/database_util.h" | 14 #include "webkit/browser/database/database_util.h" |
| 15 | 15 |
| 16 using quota::QuotaClient; | 16 using quota::QuotaClient; |
| 17 using webkit_database::DatabaseUtil; | 17 using webkit_database::DatabaseUtil; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 namespace { | 20 namespace { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 147 } |
| 148 | 148 |
| 149 base::PostTaskAndReplyWithResult( | 149 base::PostTaskAndReplyWithResult( |
| 150 webkit_thread_message_loop_.get(), | 150 webkit_thread_message_loop_.get(), |
| 151 FROM_HERE, | 151 FROM_HERE, |
| 152 base::Bind(&DeleteOriginDataOnWebKitThread, indexed_db_context_, origin), | 152 base::Bind(&DeleteOriginDataOnWebKitThread, indexed_db_context_, origin), |
| 153 callback); | 153 callback); |
| 154 } | 154 } |
| 155 | 155 |
| 156 } // namespace content | 156 } // namespace content |
| OLD | NEW |