Index: chrome/common/safe_browsing/file_type_policies.cc |
diff --git a/chrome/common/safe_browsing/file_type_policies.cc b/chrome/common/safe_browsing/file_type_policies.cc |
index cf9e4418b853e13033686b366b4c2f5e1300d471..1741b5a88de3e1ab7ba2d6fc3879bbca939b9460 100644 |
--- a/chrome/common/safe_browsing/file_type_policies.cc |
+++ b/chrome/common/safe_browsing/file_type_policies.cc |
@@ -112,6 +112,11 @@ FileTypePolicies::UpdateResult FileTypePolicies::PopulateFromBinaryPb( |
// Compare against existing config, if we have one. |
if (config_) { |
+ // If versions are equal, we skip the update but it's not really |
+ // a failure. |
+ if (new_config->version_id() == config_->version_id()) |
+ return UpdateResult::SKIPPED_VERSION_CHECK_EQUAL; |
+ |
// Check that version number increases |
if (new_config->version_id() <= config_->version_id()) |
return UpdateResult::FAILED_VERSION_CHECK; |