summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache_entry.h')
-rw-r--r--webkit/appcache/appcache_entry.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/webkit/appcache/appcache_entry.h b/webkit/appcache/appcache_entry.h
index 5629cc2..434568a 100644
--- a/webkit/appcache/appcache_entry.h
+++ b/webkit/appcache/appcache_entry.h
@@ -5,8 +5,6 @@
#ifndef WEBKIT_APPCACHE_APPCACHE_ENTRY_H_
#define WEBKIT_APPCACHE_APPCACHE_ENTRY_H_
-#include "googleurl/src/gurl.h"
-
namespace appcache {
// A cached entry is identified by a URL and is classified into one
@@ -28,11 +26,11 @@ class AppCacheEntry {
int types() const { return types_; }
void add_types(int added_types) { types_ |= added_types; }
- bool IsMaster() const { return types_ & MASTER; }
- bool IsManifest() const { return types_ & MANIFEST; }
- bool IsExplicit() const { return types_ & EXPLICIT; }
- bool IsForeign() const { return types_ & FOREIGN; }
- bool IsFallback() const { return types_ & FALLBACK; }
+ bool IsMaster() const { return (types_ & MASTER) != 0; }
+ bool IsManifest() const { return (types_ & MANIFEST) != 0; }
+ bool IsExplicit() const { return (types_ & EXPLICIT) != 0; }
+ bool IsForeign() const { return (types_ & FOREIGN) != 0; }
+ bool IsFallback() const { return (types_ & FALLBACK) != 0; }
private:
int types_;