Index: components/ssl_errors/error_classification.h |
diff --git a/components/ssl_errors/error_classification.h b/components/ssl_errors/error_classification.h |
index c7ce540e5ffc767a05d4a76f5dc2b4070117ece9..986b435d7ed9ac5a0a2241746c0b00ccf0431afe 100644 |
--- a/components/ssl_errors/error_classification.h |
+++ b/components/ssl_errors/error_classification.h |
@@ -63,6 +63,9 @@ bool GetWWWSubDomainMatch(const GURL& request_url, |
const std::vector<std::string>& dns_names, |
std::string* www_match_host_name); |
+// Exposed for testing. |
+size_t GetLevenshteinDistance(const std::string& str1, const std::string& str2); |
felt
2016/02/11 00:10:42
Could you move this into the "helper methods" sect
|
+ |
// Method for recording results. ----------------------------------------------- |
void RecordUMAStatistics(bool overridable, |