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

Unified Diff: content/browser/appcache/appcache_unittest.cc

Issue 276093003: appcache content-type check (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: content/browser/appcache/appcache_unittest.cc
diff --git a/content/browser/appcache/appcache_unittest.cc b/content/browser/appcache/appcache_unittest.cc
index d1e4b6ed184f98e16c891c0df1ee0086212802b3..7851366ada62ebd0592c1d614600d8395aea397c 100644
--- a/content/browser/appcache/appcache_unittest.cc
+++ b/content/browser/appcache/appcache_unittest.cc
@@ -577,8 +577,8 @@ TEST(AppCacheTest, ToFromDatabaseRecords) {
new AppCacheGroup(service.storage(), kManifestUrl, kGroupId);
scoped_refptr<AppCache> cache(new AppCache(service.storage(), kCacheId));
Manifest manifest;
- EXPECT_TRUE(
- ParseManifest(kManifestUrl, kData.c_str(), kData.length(), manifest));
+ EXPECT_TRUE(ParseManifest(kManifestUrl, kData.c_str(), kData.length(),
+ true, manifest));
cache->InitializeWithManifest(&manifest);
EXPECT_EQ(NETWORK_NAMESPACE, cache->online_whitelist_namespaces_[0].type);
EXPECT_TRUE(cache->online_whitelist_namespaces_[0].is_pattern);
« no previous file with comments | « no previous file | content/browser/appcache/manifest_parser_unittest.cc » ('j') | webkit/browser/appcache/appcache_update_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698