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 3 // found in the LICENSE file. 4 5 #include "chrome/browser/mock_browsing_data_appcache_helper.h" 6 7 #include "base/callback.h" 8 MockBrowsingDataAppCacheHelper(Profile * profile)9MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper( 10 Profile* profile) 11 : BrowsingDataAppCacheHelper(profile) { 12 } 13 ~MockBrowsingDataAppCacheHelper()14MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() { 15 } 16 StartFetching(Callback0::Type * completion_callback)17void MockBrowsingDataAppCacheHelper::StartFetching( 18 Callback0::Type* completion_callback) { 19 completion_callback_.reset(completion_callback); 20 } 21 CancelNotification()22void MockBrowsingDataAppCacheHelper::CancelNotification() { 23 completion_callback_.reset(NULL); 24 } 25 DeleteAppCacheGroup(const GURL & manifest_url)26void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup( 27 const GURL& manifest_url) { 28 } 29