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.
5 #ifndef CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_
8 #include "base/callback_forward.h"
9 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h"
11 class MockBrowsingDataAppCacheHelper
12 : public BrowsingDataAppCacheHelper
{
14 explicit MockBrowsingDataAppCacheHelper(
15 content::BrowserContext
* browser_context
);
17 void StartFetching(const base::Closure
& completion_callback
) override
;
18 void DeleteAppCacheGroup(const GURL
& manifest_url
) override
;
21 ~MockBrowsingDataAppCacheHelper() override
;
23 DISALLOW_COPY_AND_ASSIGN(MockBrowsingDataAppCacheHelper
);
26 #endif // CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_