diff options
Diffstat (limited to 'chromium/base/metrics/user_metrics.h')
-rw-r--r-- | chromium/base/metrics/user_metrics.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/base/metrics/user_metrics.h b/chromium/base/metrics/user_metrics.h index c80bac038d7..93701e8fd20 100644 --- a/chromium/base/metrics/user_metrics.h +++ b/chromium/base/metrics/user_metrics.h @@ -26,9 +26,9 @@ namespace base { // not good: "SSLDialogShown", "PageLoaded", "DiskFull" // We use this to gather anonymized information about how users are // interacting with the browser. -// WARNING: In calls to this function, UserMetricsAction and a -// string literal parameter must be on the same line, e.g. -// RecordAction(UserMetricsAction("my extremely long action name")); +// WARNING: In calls to this function, UserMetricsAction should be followed by a +// string literal parameter and not a variable e.g. +// RecordAction(UserMetricsAction("my action name")); // This ensures that our processing scripts can associate this action's hash // with its metric name. Therefore, it will be possible to retrieve the metric // name from the hash later on. |