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

Unified Diff: webkit/appcache/appcache_entry.h

Issue 192043: AppCacheHost cache selection algorithm (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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
« no previous file with comments | « webkit/appcache/appcache_backend_impl.cc ('k') | webkit/appcache/appcache_frontend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_entry.h
===================================================================
--- webkit/appcache/appcache_entry.h (revision 26254)
+++ webkit/appcache/appcache_entry.h (working copy)
@@ -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 @@
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_;
« no previous file with comments | « webkit/appcache/appcache_backend_impl.cc ('k') | webkit/appcache/appcache_frontend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698