blob: f984da8a5bc16b8c870369d4993f9d5d03ef0120 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Utility methods for accessing chrome.metricsPrivate API.
*
* To be included as a first script in main.html
*/
var metrics = metrics || metricsBase;
/**
* Convert a short metric name to the full format.
*
* @param {string} name Short metric name.
* @return {string} Full metric name.
* @override
* @private
*/
metrics.convertName_ = name => {
return 'FileBrowser.' + name;
};