| 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 "webkit/browser/database/database_quota_client.h" | 5 #include "webkit/browser/database/database_quota_client.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/message_loop_proxy.h" | 13 #include "base/message_loop/message_loop_proxy.h" |
| 14 #include "base/task_runner_util.h" | 14 #include "base/task_runner_util.h" |
| 15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
| 16 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
| 17 #include "webkit/base/origin_url_conversions.h" | 17 #include "webkit/base/origin_url_conversions.h" |
| 18 #include "webkit/browser/database/database_tracker.h" | 18 #include "webkit/browser/database/database_tracker.h" |
| 19 #include "webkit/browser/database/database_util.h" | 19 #include "webkit/browser/database/database_util.h" |
| 20 | 20 |
| 21 using quota::QuotaClient; | 21 using quota::QuotaClient; |
| 22 | 22 |
| 23 namespace webkit_database { | 23 namespace webkit_database { |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 db_tracker_thread_.get(), | 209 db_tracker_thread_.get(), |
| 210 FROM_HERE, | 210 FROM_HERE, |
| 211 base::Bind(&DatabaseTracker::DeleteDataForOrigin, | 211 base::Bind(&DatabaseTracker::DeleteDataForOrigin, |
| 212 db_tracker_, | 212 db_tracker_, |
| 213 webkit_base::GetOriginIdentifierFromURL(origin), | 213 webkit_base::GetOriginIdentifierFromURL(origin), |
| 214 delete_callback), | 214 delete_callback), |
| 215 delete_callback); | 215 delete_callback); |
| 216 } | 216 } |
| 217 | 217 |
| 218 } // namespace webkit_database | 218 } // namespace webkit_database |
| OLD | NEW |