Artem Titov cb76c70534 Revert "Roll chromium_revision e1ef7d4b6b..b47e7752c6 (568794:569173)"
This reverts commit fd2457b10fc2713bfd5d86952216cf89b6283a90.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Roll chromium_revision e1ef7d4b6b..b47e7752c6 (568794:569173)
> 
> Change log: e1ef7d4b6b..b47e7752c6
> Full diff: e1ef7d4b6b..b47e7752c6
> 
> Roll chromium third_party ab9fbe29c9..630af48a96
> Change log: ab9fbe29c9..630af48a96
> 
> Changed dependencies:
> * src/base: 03e1bc561f..6070b24b9f
> * src/build: bb306be407..511e258eee
> * src/ios: 48697bf3a1..ce1db7deb1
> * src/testing: 6440c4ea3a..80a4cfaab7
> * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f153b902be..f3c454475a
> * src/third_party/depot_tools: 1cabdc4643..a28b14f122
> * src/tools: 66f1089d0c..f6bb2a6fb4
> DEPS diff: e1ef7d4b6b..b47e7752c6/DEPS
> 
> No update to Clang.
> 
> TBR=buildbot@webrtc.org,
> BUG=None
> CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal
> NO_AUTOIMPORT_DEPS_CHECK=true
> 
> Change-Id: I7553549111225f2c5bc769dec114cd058ae699d5
> Reviewed-on: https://webrtc-review.googlesource.com/84600
> Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
> Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23692}

TBR=buildbot@webrtc.org

Change-Id: I7d136553622fe4c4e49dbd9c60406811a8b11bd8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Cq-Include-Trybots: master.internal.tryserver.corp.webrtc:linux_internal
Reviewed-on: https://webrtc-review.googlesource.com/84720
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23708}
2018-06-21 12:53:44 +00:00

177 lines
6.0 KiB
JavaScript

// Copyright 2017 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.
// This file was generated by:
// tools/json_schema_compiler/compiler.py.
// NOTE: The format of types has changed. 'FooType' is now
// 'chrome.metricsPrivate.FooType'.
// Please run the closure compiler before committing changes.
// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md
/** @fileoverview Externs generated from namespace: metricsPrivate */
/**
* @const
*/
chrome.metricsPrivate = {};
/**
* @enum {string}
* @see https://developer.chrome.com/extensions/metricsPrivate#type-MetricTypeType
*/
chrome.metricsPrivate.MetricTypeType = {
HISTOGRAM_LOG: 'histogram-log',
HISTOGRAM_LINEAR: 'histogram-linear',
};
/**
* Describes the type of metric that is to be collected.
* @typedef {{
* metricName: string,
* type: !chrome.metricsPrivate.MetricTypeType,
* min: number,
* max: number,
* buckets: number
* }}
* @see https://developer.chrome.com/extensions/metricsPrivate#type-MetricType
*/
chrome.metricsPrivate.MetricType;
/**
* Returns true if the user opted in to sending crash reports.
* @param {function(boolean):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getIsCrashReportingEnabled
*/
chrome.metricsPrivate.getIsCrashReportingEnabled = function(callback) {};
/**
* Returns the group name chosen for the named trial, or the empty string if the
* trial does not exist or is not enabled.
* @param {string} name
* @param {function(string):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getFieldTrial
*/
chrome.metricsPrivate.getFieldTrial = function(name, callback) {};
/**
* Returns variation parameters for the named trial if available, or undefined
* otherwise.
* @param {string} name
* @param {function((Object|undefined)):void} callback
* @see https://developer.chrome.com/extensions/metricsPrivate#method-getVariationParams
*/
chrome.metricsPrivate.getVariationParams = function(name, callback) {};
/**
* Records an action performed by the user.
* @param {string} name
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordUserAction
*/
chrome.metricsPrivate.recordUserAction = function(name) {};
/**
* Records a percentage value from 1 to 100.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordPercentage
*/
chrome.metricsPrivate.recordPercentage = function(metricName, value) {};
/**
* Records a value than can range from 1 to 1,000,000.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordCount
*/
chrome.metricsPrivate.recordCount = function(metricName, value) {};
/**
* Records a value than can range from 1 to 100.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSmallCount
*/
chrome.metricsPrivate.recordSmallCount = function(metricName, value) {};
/**
* Records a value than can range from 1 to 10,000.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordMediumCount
*/
chrome.metricsPrivate.recordMediumCount = function(metricName, value) {};
/**
* Records an elapsed time of no more than 10 seconds. The sample value is
* specified in milliseconds.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordTime
*/
chrome.metricsPrivate.recordTime = function(metricName, value) {};
/**
* Records an elapsed time of no more than 3 minutes. The sample value is
* specified in milliseconds.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordMediumTime
*/
chrome.metricsPrivate.recordMediumTime = function(metricName, value) {};
/**
* Records an elapsed time of no more than 1 hour. The sample value is
* specified in milliseconds.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordLongTime
*/
chrome.metricsPrivate.recordLongTime = function(metricName, value) {};
/**
* Increments the count associated with the hash of |value| in the sparse
* histogram defined by the |metricName|.
* @param {string} metricName
* @param {string} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSparseHashable
*/
chrome.metricsPrivate.recordSparseHashable = function(metricName, value) {};
/**
* Increments the count associated with |value| in the sparse histogram defined
* by the |metricName|.
* @param {string} metricName
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordSparseValue
*/
chrome.metricsPrivate.recordSparseValue = function(metricName, value) {};
/**
* Adds a value to the given metric.
* @param {!chrome.metricsPrivate.MetricType} metric
* @param {number} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordValue
*/
chrome.metricsPrivate.recordValue = function(metric, value) {};
/**
* Records a boolean value to the given metric. Analogous to
* base::UmaHistogramBoolean().
* @param {string} metricName
* @param {boolean} value
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordBoolean
*/
chrome.metricsPrivate.recordBoolean = function(metricName, value) {};
/**
* Records an enumeration value to the given metric. Analogous to
* base::UmaHistogramEnumeration(). Use recordSparseValue for sparse enums or
* enums not starting at 0.
* @param {string} metricName
* @param {number} value
* @param {number} enumSize
* @see https://developer.chrome.com/extensions/metricsPrivate#method-recordEnumerationValue
*/
chrome.metricsPrivate.recordEnumerationValue = function(metricName, value, enumSize) {};