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

Unified Diff: content/common/page_state_serialization_unittest.cc

Issue 26405003: Fixup a unit test with USE_BLOB_UUIDS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/page_state_serialization_unittest.cc
diff --git a/content/common/page_state_serialization_unittest.cc b/content/common/page_state_serialization_unittest.cc
index a514b33162aa4748b31fb4045f4797af996e4acf..9138c158fd32f6c86dd6ce24c6035716ff214894 100644
--- a/content/common/page_state_serialization_unittest.cc
+++ b/content/common/page_state_serialization_unittest.cc
@@ -52,7 +52,11 @@ void ExpectEquality(const ExplodedHttpBodyElement& a,
EXPECT_EQ(a.file_length, b.file_length);
if (!(isnan(a.file_modification_time) && isnan(b.file_modification_time)))
EXPECT_DOUBLE_EQ(a.file_modification_time, b.file_modification_time);
+#ifdef USE_BLOB_UUIDS
+ EXPECT_EQ(a.blob_uuid, b.blob_uuid);
+#else
EXPECT_EQ(a.deprecated_blob_url, b.deprecated_blob_url);
+#endif
}
template <>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698