OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/browsing_data_indexed_db_helper.h" | 5 #include "chrome/browser/browsing_data_indexed_db_helper.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 bool CannedBrowsingDataIndexedDBHelper::empty() const { | 209 bool CannedBrowsingDataIndexedDBHelper::empty() const { |
210 return indexed_db_info_.empty(); | 210 return indexed_db_info_.empty(); |
211 } | 211 } |
212 | 212 |
213 void CannedBrowsingDataIndexedDBHelper::StartFetching( | 213 void CannedBrowsingDataIndexedDBHelper::StartFetching( |
214 Callback1<const std::vector<IndexedDBInfo>& >::Type* callback) { | 214 Callback1<const std::vector<IndexedDBInfo>& >::Type* callback) { |
215 callback->Run(indexed_db_info_); | 215 callback->Run(indexed_db_info_); |
216 delete callback; | 216 delete callback; |
217 } | 217 } |
| 218 |
| 219 CannedBrowsingDataIndexedDBHelper::~CannedBrowsingDataIndexedDBHelper() {} |
OLD | NEW |