| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/database/database_quota_client.h" | 5 #include "webkit/database/database_quota_client.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/location.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
| 11 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
| 12 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
| 13 #include "net/base/net_util.h" | 14 #include "net/base/net_util.h" |
| 14 #include "webkit/database/database_tracker.h" | 15 #include "webkit/database/database_tracker.h" |
| 15 #include "webkit/database/database_util.h" | 16 #include "webkit/database/database_util.h" |
| 16 | 17 |
| 17 using quota::QuotaClient; | 18 using quota::QuotaClient; |
| 18 | 19 |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 } | 295 } |
| 295 | 296 |
| 296 void DatabaseQuotaClient::DidGetOriginsForHost( | 297 void DatabaseQuotaClient::DidGetOriginsForHost( |
| 297 const std::string& host, const std::set<GURL>& origins, | 298 const std::string& host, const std::set<GURL>& origins, |
| 298 quota::StorageType type) { | 299 quota::StorageType type) { |
| 299 DCHECK(origins_for_host_callbacks_.HasCallbacks(host)); | 300 DCHECK(origins_for_host_callbacks_.HasCallbacks(host)); |
| 300 origins_for_host_callbacks_.Run(host, origins, type); | 301 origins_for_host_callbacks_.Run(host, origins, type); |
| 301 } | 302 } |
| 302 | 303 |
| 303 } // namespace webkit_database | 304 } // namespace webkit_database |
| OLD | NEW |