1// Copyright (c) 2012 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/browsing_data/mock_browsing_data_appcache_helper.h"
6
7#include "base/callback.h"
8#include "testing/gtest/include/gtest/gtest.h"
9
10MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
11    content::BrowserContext* browser_context)
12    : BrowsingDataAppCacheHelper(browser_context) {
13}
14
15MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
16}
17
18void MockBrowsingDataAppCacheHelper::StartFetching(
19    const base::Closure& completion_callback) {
20  ASSERT_FALSE(completion_callback.is_null());
21  ASSERT_TRUE(completion_callback_.is_null());
22  completion_callback_ = completion_callback;
23}
24
25void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup(
26    const GURL& manifest_url) {
27}
28