summaryrefslogtreecommitdiffstats
path: root/chrome/browser/mock_browsing_data_appcache_helper.cc
blob: 5fab6d005f1ccbd9b3e4ce2a8fcf2fcf00a7941e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/mock_browsing_data_appcache_helper.h"

#include "base/callback.h"

MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
  Profile* profile)
  : BrowsingDataAppCacheHelper(profile) {
}

MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
}

void MockBrowsingDataAppCacheHelper::StartFetching(
    Callback0::Type* completion_callback) {
  completion_callback_.reset(completion_callback);
}

void MockBrowsingDataAppCacheHelper::CancelNotification() {
  completion_callback_.reset(NULL);
}

void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup(
    const GURL& manifest_url) {
}