Index: chrome/browser/webdata/keyword_table.cc |
diff --git a/chrome/browser/webdata/keyword_table.cc b/chrome/browser/webdata/keyword_table.cc |
index b5391948028ed73a6780c7b34ec9bd2b59688082..ee8ef790b79e326816bafaab5483fe7b7d463b0b 100644 |
--- a/chrome/browser/webdata/keyword_table.cc |
+++ b/chrome/browser/webdata/keyword_table.cc |
@@ -79,7 +79,7 @@ std::string GetSearchProviderIDSignature(int64 id) { |
// Checks if signature for search provider id is correct and returns the |
// result. |
bool IsSearchProviderIDValid(int64 id, const std::string& signature) { |
- return signature == GetSearchProviderIDSignature(id); |
+ return protector::IsSettingValid(base::Int64ToString(id), signature); |
} |
} // anonymous namespace |
@@ -289,6 +289,10 @@ bool KeywordTable::DidDefaultSearchProviderChange() { |
protector::kProtectorErrorCount); |
return true; |
} |
+ UMA_HISTOGRAM_ENUMERATION( |
+ protector::kProtectorHistogramDefaultSearchProvider, |
+ protector::kProtectorErrorNoError, |
+ protector::kProtectorErrorCount); |
return false; |
} |