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

Unified Diff: chrome/browser/safe_browsing/srt_field_trial_win.h

Issue 2226133005: Add support for the ExperimentalSwReporterEngine field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: chrome/browser/safe_browsing/srt_field_trial_win.h
diff --git a/chrome/browser/safe_browsing/srt_field_trial_win.h b/chrome/browser/safe_browsing/srt_field_trial_win.h
index 17a19c29865945cbad5475bd0705fd5bba0ff52d..eb31c7ac1fbccaee786770910e4159936d8f11cd 100644
--- a/chrome/browser/safe_browsing/srt_field_trial_win.h
+++ b/chrome/browser/safe_browsing/srt_field_trial_win.h
@@ -31,6 +31,7 @@ enum SwReporterUmaValue {
SW_REPORTER_RETRIED_TOO_MANY_TIMES = 2,
SW_REPORTER_START_EXECUTION = 3,
SW_REPORTER_FAILED_TO_START = 4,
+ // Deprecated.
SW_REPORTER_REGISTRY_EXIT_CODE = 5,
// Deprecated.
SW_REPORTER_RESET_RETRIES = 6,
@@ -68,7 +69,8 @@ std::string GetIncomingSRTSeed();
void RecordSRTPromptHistogram(SRTPromptHistogramValue value);
// Records a value for the reporter step Histogram.
-void RecordReporterStepHistogram(SwReporterUmaValue value);
+void RecordReporterStepHistogram(SwReporterUmaValue value,
+ const std::string& suffix = std::string());
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698