| 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_appcache_helper.h" | 5 #include "chrome/browser/browsing_data_appcache_helper.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chrome_thread.h" | 7 #include "chrome/browser/chrome_thread.h" |
| 8 #include "chrome/browser/net/chrome_url_request_context.h" | 8 #include "chrome/browser/net/chrome_url_request_context.h" |
| 9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
| 10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 appcache_infos_.push_back(info); | 123 appcache_infos_.push_back(info); |
| 124 } | 124 } |
| 125 | 125 |
| 126 void CannedBrowsingDataAppCacheHelper::Reset() { | 126 void CannedBrowsingDataAppCacheHelper::Reset() { |
| 127 info_collection_->infos_by_origin.clear(); | 127 info_collection_->infos_by_origin.clear(); |
| 128 } | 128 } |
| 129 | 129 |
| 130 void CannedBrowsingDataAppCacheHelper::StartFetching( | 130 void CannedBrowsingDataAppCacheHelper::StartFetching( |
| 131 Callback0::Type* completion_callback) { | 131 Callback0::Type* completion_callback) { |
| 132 completion_callback->Run(); | 132 completion_callback->Run(); |
| 133 delete completion_callback; |
| 133 } | 134 } |
| OLD | NEW |