Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: webkit/appcache/appcache_interfaces.cc

Issue 8396013: AppCache INTERCEPT namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/appcache/appcache_interfaces.cc
===================================================================
--- webkit/appcache/appcache_interfaces.cc (revision 113546)
+++ webkit/appcache/appcache_interfaces.cc (working copy)
@@ -35,17 +35,30 @@
AppCacheResourceInfo::AppCacheResourceInfo()
: url(),
size(0),
- is_master(0),
- is_manifest(0),
- is_fallback(0),
- is_foreign(0),
- is_explicit(0),
+ is_master(false),
+ is_manifest(false),
+ is_intercept(false),
+ is_fallback(false),
+ is_foreign(false),
+ is_explicit(false),
response_id(kNoResponseId) {
}
AppCacheResourceInfo::~AppCacheResourceInfo() {
}
+Namespace::Namespace()
+ : type(FALLBACK_NAMESPACE) {
+}
+
+Namespace::Namespace(NamespaceType type, const GURL& url, const GURL& target)
+ : type(type), namespace_url(url), target_url(target) {
+}
+
+Namespace::~Namespace() {
+}
+
+
bool IsSchemeSupported(const GURL& url) {
bool supported = url.SchemeIs(kHttpScheme) || url.SchemeIs(kHttpsScheme);
#ifndef NDEBUG

Powered by Google App Engine
This is Rietveld 408576698