summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/browser/appcache/appcache_test_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/browser/appcache/appcache_test_helper.h')
-rw-r--r--chromium/webkit/browser/appcache/appcache_test_helper.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/chromium/webkit/browser/appcache/appcache_test_helper.h b/chromium/webkit/browser/appcache/appcache_test_helper.h
deleted file mode 100644
index 4e21cb3ca7c..00000000000
--- a/chromium/webkit/browser/appcache/appcache_test_helper.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_TEST_HELPER_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_TEST_HELPER_H_
-
-#include <set>
-
-#include "webkit/browser/appcache/appcache_storage.h"
-
-namespace appcache {
-
-class AppCacheService;
-
-// Helper class for inserting data into a ChromeAppCacheService and reading it
-// back.
-class AppCacheTestHelper : public appcache::AppCacheStorage::Delegate {
- public:
- AppCacheTestHelper();
- virtual ~AppCacheTestHelper();
- void AddGroupAndCache(AppCacheService* appcache_service,
- const GURL& manifest_url);
-
- void GetOriginsWithCaches(AppCacheService* appcache_service,
- std::set<GURL>* origins);
- private:
- virtual void OnGroupAndNewestCacheStored(
- appcache::AppCacheGroup* group,
- appcache::AppCache* newest_cache,
- bool success,
- bool would_exceed_quota) OVERRIDE;
- void OnGotAppCacheInfo(int rv);
-
- int group_id_;
- int appcache_id_;
- int response_id_;
- scoped_refptr<appcache::AppCacheInfoCollection> appcache_info_;
- std::set<GURL>* origins_; // not owned
-
- DISALLOW_COPY_AND_ASSIGN(AppCacheTestHelper);
-};
-
-} // namespace appcache
-
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_TEST_HELPER_H_