• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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)9 MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
10   Profile* profile)
11   : BrowsingDataAppCacheHelper(profile) {
12 }
13 
~MockBrowsingDataAppCacheHelper()14 MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
15 }
16 
StartFetching(Callback0::Type * completion_callback)17 void MockBrowsingDataAppCacheHelper::StartFetching(
18     Callback0::Type* completion_callback) {
19   completion_callback_.reset(completion_callback);
20 }
21 
CancelNotification()22 void MockBrowsingDataAppCacheHelper::CancelNotification() {
23   completion_callback_.reset(NULL);
24 }
25 
DeleteAppCacheGroup(const GURL & manifest_url)26 void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup(
27     const GURL& manifest_url) {
28 }
29