summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/appcache/ManifestParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/appcache/ManifestParser.h')
-rw-r--r--WebCore/loader/appcache/ManifestParser.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/WebCore/loader/appcache/ManifestParser.h b/WebCore/loader/appcache/ManifestParser.h
index f4fe31a..c03cf27 100644
--- a/WebCore/loader/appcache/ManifestParser.h
+++ b/WebCore/loader/appcache/ManifestParser.h
@@ -28,22 +28,19 @@
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
-#include <wtf/HashMap.h>
-#include <wtf/HashSet.h>
-#include "StringHash.h"
-#include "PlatformString.h"
+#include "ApplicationCache.h"
namespace WebCore {
-class KURL;
+ class KURL;
-struct Manifest {
- HashSet<String> onlineWhitelistedURLs;
- HashSet<String> explicitURLs;
- HashMap<String, String> fallbackURLs;
-};
+ struct Manifest {
+ Vector<KURL> onlineWhitelistedURLs;
+ HashSet<String> explicitURLs;
+ FallbackURLVector fallbackURLs;
+ };
-bool parseManifest(const KURL& manifestURL, const char* data, int length, Manifest&);
+ bool parseManifest(const KURL& manifestURL, const char* data, int length, Manifest&);
}