Lines Matching defs:metric
296 const std::string& metric) {
325 ProcessUserMetric(value, metric);
329 const std::string& metric) {
333 if (!metric.empty())
334 content::RecordComputedAction(metric);
338 const std::string& metric) {
339 if (metric.empty())
342 std::string metric_string = metric;
615 std::string metric;
616 if (args->GetSize() > 2 && !args->GetString(2, &metric))
617 LOG(WARNING) << "Invalid metric parameter: " << pref_name;
618 SetPref(pref_name, value, metric);
628 std::string metric;
630 if (!args->GetString(1, &metric))
634 ClearPref(pref_name, metric);
638 std::string metric = base::UTF16ToUTF8(ExtractStringValue(args));
639 if (!metric.empty())
640 content::RecordComputedAction(metric);