Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / browsing_data / mock_browsing_data_appcache_helper.h
blobe81d92ab264ba23be34db9f1280ba248191dfa6d
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 {
13 public:
14 explicit MockBrowsingDataAppCacheHelper(
15 content::BrowserContext* browser_context);
17 void StartFetching(const FetchCallback& completion_callback) override;
18 void DeleteAppCacheGroup(const GURL& manifest_url) override;
20 private:
21 ~MockBrowsingDataAppCacheHelper() override;
23 FetchCallback completion_callback_;
25 DISALLOW_COPY_AND_ASSIGN(MockBrowsingDataAppCacheHelper);
28 #endif // CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_