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

Unified Diff: webkit/appcache/mock_appcache_storage_unittest.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/mock_appcache_storage_unittest.cc
===================================================================
--- webkit/appcache/mock_appcache_storage_unittest.cc (revision 113546)
+++ webkit/appcache/mock_appcache_storage_unittest.cc (working copy)
@@ -461,16 +461,18 @@
Manifest manifest;
manifest.fallback_namespaces.push_back(
- FallbackNamespace(kFallbackNamespaceUrl1, kFallbackEntryUrl1));
+ Namespace(FALLBACK_NAMESPACE, kFallbackNamespaceUrl1,
+ kFallbackEntryUrl1));
manifest.fallback_namespaces.push_back(
- FallbackNamespace(kFallbackNamespaceUrl2, kFallbackEntryUrl2));
+ Namespace(FALLBACK_NAMESPACE, kFallbackNamespaceUrl2,
+ kFallbackEntryUrl2));
scoped_refptr<AppCache> cache(new AppCache(&service, kCacheId));
cache->InitializeWithManifest(&manifest);
- cache->AddEntry(
- kFallbackEntryUrl1, AppCacheEntry(AppCacheEntry::FALLBACK, kResponseId1));
- cache->AddEntry(
- kFallbackEntryUrl2, AppCacheEntry(AppCacheEntry::FALLBACK, kResponseId2));
+ cache->AddEntry(kFallbackEntryUrl1,
+ AppCacheEntry(AppCacheEntry::FALLBACK, kResponseId1));
+ cache->AddEntry(kFallbackEntryUrl2,
+ AppCacheEntry(AppCacheEntry::FALLBACK, kResponseId2));
cache->set_complete(true);
scoped_refptr<AppCacheGroup> group(

Powered by Google App Engine
This is Rietveld 408576698