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

Unified Diff: chrome/common/safe_browsing/file_type_policies_unittest.cc

Issue 2051213002: [Merge M52] Component updater for FileTypePolicies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 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
« no previous file with comments | « chrome/common/safe_browsing/file_type_policies.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/safe_browsing/file_type_policies_unittest.cc
diff --git a/chrome/common/safe_browsing/file_type_policies_unittest.cc b/chrome/common/safe_browsing/file_type_policies_unittest.cc
index c5e3cbb1a18668ca8000288b3854e98081a9c81e..b8a39e81a8d0eae64f4b085e45a0fd1e844c5bb7 100644
--- a/chrome/common/safe_browsing/file_type_policies_unittest.cc
+++ b/chrome/common/safe_browsing/file_type_policies_unittest.cc
@@ -207,7 +207,7 @@ TEST_F(FileTypePoliciesTest, BadUpdateFromExisting) {
policies_.PopulateFromBinaryPb(cfg.SerializeAsString()));
// Can't update to the same version
- EXPECT_EQ(FileTypePolicies::UpdateResult::FAILED_VERSION_CHECK,
+ EXPECT_EQ(FileTypePolicies::UpdateResult::SKIPPED_VERSION_CHECK_EQUAL,
policies_.PopulateFromBinaryPb(cfg.SerializeAsString()));
// Can't go backward
« no previous file with comments | « chrome/common/safe_browsing/file_type_policies.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698