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 #ifndef CHROME_BROWSER_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_ 6 #define CHROME_BROWSER_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_ 7 #pragma once 8 9 #include "base/callback.h" 10 #include "chrome/browser/browsing_data_appcache_helper.h" 11 12 class MockBrowsingDataAppCacheHelper 13 : public BrowsingDataAppCacheHelper { 14 public: 15 explicit MockBrowsingDataAppCacheHelper(Profile* profile); 16 17 virtual void StartFetching(Callback0::Type* completion_callback); 18 virtual void CancelNotification(); 19 virtual void DeleteAppCacheGroup(const GURL& manifest_url); 20 21 private: 22 virtual ~MockBrowsingDataAppCacheHelper(); 23 }; 24 25 #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_APPCACHE_HELPER_H_ 26