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 "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
8 #include "net/base/net_util.h" | 8 #include "net/base/net_util.h" |
9 #include "webkit/database/database_tracker.h" | 9 #include "webkit/database/database_tracker.h" |
10 #include "webkit/database/database_util.h" | 10 #include "webkit/database/database_util.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
208 DCHECK(origins_for_type_callbacks_.HasCallbacks()); | 208 DCHECK(origins_for_type_callbacks_.HasCallbacks()); |
209 origins_for_type_callbacks_.Run(origins); | 209 origins_for_type_callbacks_.Run(origins); |
210 } | 210 } |
211 | 211 |
212 void DatabaseQuotaClient::DidGetOriginsForHost( | 212 void DatabaseQuotaClient::DidGetOriginsForHost( |
213 const std::string& host, const std::set<GURL>& origins) { | 213 const std::string& host, const std::set<GURL>& origins) { |
214 DCHECK(origins_for_host_callbacks_.HasCallbacks(host)); | 214 DCHECK(origins_for_host_callbacks_.HasCallbacks(host)); |
215 origins_for_host_callbacks_.Run(host, origins); | 215 origins_for_host_callbacks_.Run(host, origins); |
216 } | 216 } |
217 | 217 |
218 void DatabaseQuotaClient::DeleteOriginData(const GURL& origin, | |
219 quota::StorageType type, | |
220 DeletionCallback* callback) { | |
michaeln
2011/05/13 01:04:24
Please move this method up in the .cc file so it's
tzik (google)
2011/05/13 06:10:36
Done.
| |
221 // TODO(tzik): implement me | |
222 } | |
223 | |
224 | |
218 } // namespace webkit_database | 225 } // namespace webkit_database |
OLD | NEW |