Commit 25d82637 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[fileapp] Address TODO to remove code after CL:2526653

After chrome.metricsPrivate fakes landed, CL:2500642 does not need use
these window.metrics fakes. Remove them.

Bug: 1113981
Change-Id: Iefcd5881a31a147e9387a9a175723a571412e5d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2531597
Auto-Submit: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826174}
parent 7bdc128b
...@@ -137,22 +137,6 @@ window.chrome.metricsPrivate = { ...@@ -137,22 +137,6 @@ window.chrome.metricsPrivate = {
recordValue: (metricName, value) => {}, recordValue: (metricName, value) => {},
}; };
// TODO(crbug.com/1113981): remove once chrome.metricsPrivate lands.
/** @suppress {checkTypes} */
window.metrics = {
recordEnum: function() {},
recordInterval: function() {},
recordSmallCount: function() {},
recordTime: function() {},
recordUserAction: function() {},
recordValue: function() {},
startInterval: function() {},
};
// TODO(crbug.com/1113981): remove once chrome.metricsPrivate lands.
// eslint-disable-next-line
var metrics = window.metrics;
window.DriveSyncHandler = class extends EventTarget { window.DriveSyncHandler = class extends EventTarget {
/** /**
* Returns the completed event name. * Returns the completed event name.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment