| 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_local_storage_helper.h" | 5 #include "chrome/browser/browsing_data_local_storage_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/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 base::Time())); | 148 base::Time())); |
| 149 } | 149 } |
| 150 | 150 |
| 151 void CannedBrowsingDataLocalStorageHelper::Reset() { | 151 void CannedBrowsingDataLocalStorageHelper::Reset() { |
| 152 local_storage_info_.clear(); | 152 local_storage_info_.clear(); |
| 153 } | 153 } |
| 154 | 154 |
| 155 void CannedBrowsingDataLocalStorageHelper::StartFetching( | 155 void CannedBrowsingDataLocalStorageHelper::StartFetching( |
| 156 Callback1<const std::vector<LocalStorageInfo>& >::Type* callback) { | 156 Callback1<const std::vector<LocalStorageInfo>& >::Type* callback) { |
| 157 callback->Run(local_storage_info_); | 157 callback->Run(local_storage_info_); |
| 158 delete callback; |
| 158 } | 159 } |
| OLD | NEW |