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

Unified Diff: components/autofill/core/browser/autofill_metrics.h

Issue 1457393003: [Autofill] Guard against the initialization failure of ICU Collator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 5 years, 1 month 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
Index: components/autofill/core/browser/autofill_metrics.h
diff --git a/components/autofill/core/browser/autofill_metrics.h b/components/autofill/core/browser/autofill_metrics.h
index f0b5f8d8669f46d8e36ab24ef3aa8b4a8f4f8f21..7c1b44aca3426e4e2448cfa014040eb8c3445593 100644
--- a/components/autofill/core/browser/autofill_metrics.h
+++ b/components/autofill/core/browser/autofill_metrics.h
@@ -598,6 +598,10 @@ class AutofillMetrics {
int compression_ratio,
AutofillDownloadManager::RequestType type);
+ // Log success or failure in creating the ICU Collator needed for string
+ // comparison.
+ static void LogIcuCollatorCreationSuccess(bool success);
+
// Utility to autofill form events in the relevant histograms depending on
// the presence of server and/or local data.
class FormEventLogger {

Powered by Google App Engine
This is Rietveld 408576698