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

Unified Diff: webkit/browser/appcache/appcache_database.cc

Issue 330053004: Rename some appcache types in preparation for moving to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: webkit/browser/appcache/appcache_database.cc
diff --git a/webkit/browser/appcache/appcache_database.cc b/webkit/browser/appcache/appcache_database.cc
index 1fde2a72114a35c453300b623aaee38faca43f64..c000451a8c3c81472b619a23eada694608af9827 100644
--- a/webkit/browser/appcache/appcache_database.cc
+++ b/webkit/browser/appcache/appcache_database.cc
@@ -951,7 +951,8 @@ void AppCacheDatabase::ReadNamespaceRecords(
NamespaceRecordVector* intercepts,
NamespaceRecordVector* fallbacks) {
while (statement->Step()) {
- NamespaceType type = static_cast<NamespaceType>(statement->ColumnInt(2));
+ AppCacheNamespaceType type = static_cast<AppCacheNamespaceType>(
+ statement->ColumnInt(2));
NamespaceRecordVector* records =
(type == FALLBACK_NAMESPACE) ? fallbacks : intercepts;
records->push_back(NamespaceRecord());
@@ -970,7 +971,7 @@ void AppCacheDatabase::ReadNamespaceRecord(
// Note: quick and dirty storage for the 'executable' bit w/o changing
// schemas, we use the high bit of 'type' field.
- record->namespace_.type = static_cast<NamespaceType>
+ record->namespace_.type = static_cast<AppCacheNamespaceType>
(type_with_executable_bit & 0x7ffffff);
record->namespace_.is_executable =
(type_with_executable_bit & 0x80000000) != 0;

Powered by Google App Engine
This is Rietveld 408576698