diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 02:00:53 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 02:00:53 +0000 |
commit | e2cadec89844f232f4b8887e85cfb72182d49107 (patch) | |
tree | b387565d11df7aabfbd4c8b30b780b620bf0f9cf /webkit/appcache/manifest_parser.h | |
parent | 91f10325d9835d204cbe88693f79221b3b402931 (diff) | |
download | chromium_src-e2cadec89844f232f4b8887e85cfb72182d49107.zip chromium_src-e2cadec89844f232f4b8887e85cfb72182d49107.tar.gz chromium_src-e2cadec89844f232f4b8887e85cfb72182d49107.tar.bz2 |
AppCache INTERCEPT namespace.
- Add support for a custom CHROMIUM CACHE MANIFEST signature. Other browsers should ignore files with this signature.
- Parse intercept namespace entries out of the new CHROMIUM-INTERCEPT manifest section. Other browsers should ignore this entire section.
- Store and retrieve the new kind of namespace records in the database layer.
- Upgrade existing databases to the new schema.
- Look for matches in the new namespaces when handling main and sub resource requests.
- Add unit tests.
BUG=101565
Review URL: http://codereview.chromium.org/8396013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/manifest_parser.h')
-rw-r--r-- | webkit/appcache/manifest_parser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/appcache/manifest_parser.h b/webkit/appcache/manifest_parser.h index cd1d569..a612e6a 100644 --- a/webkit/appcache/manifest_parser.h +++ b/webkit/appcache/manifest_parser.h @@ -37,19 +37,19 @@ #include "base/hash_tables.h" #include "webkit/appcache/appcache_export.h" +#include "webkit/appcache/appcache_interfaces.h" class GURL; namespace appcache { -typedef std::pair<GURL, GURL> FallbackNamespace; - struct APPCACHE_EXPORT Manifest { Manifest(); ~Manifest(); base::hash_set<std::string> explicit_urls; - std::vector<FallbackNamespace> fallback_namespaces; + NamespaceVector intercept_namespaces; + NamespaceVector fallback_namespaces; std::vector<GURL> online_whitelist_namespaces; bool online_whitelist_all; }; |