We need to use UMA to measure the same things as the old history page (where appropriate). To find existing UMA instrumentation: https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/resources/history/history.js&q=recordUma&sq=package:chromium&type=cs https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/resources/history/other_devices.js&q=recordUma&sq=package:chromium&type=cs
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647 commit 8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647 Author: calamity <calamity@chromium.org> Date: Wed Aug 24 05:18:04 2016 [MD History] Copy stats from the old history page. This CL reimplements the UMA actions and histograms that were in the old history page. The HistoryPage.RemoveEntryPosition histogram will only register removals via the 'Remove from history' menu button. BUG= 614609 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2255033002 Cr-Commit-Position: refs/heads/master@{#413986} [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/app.crisper.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/app.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/app.vulcanized.html [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/browser_service.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/compiled_resources2.gyp [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/constants.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/history_item.html [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/history_item.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/history_list.html [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/history_list_behavior.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/list_container.html [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/list_container.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/side_bar.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/synced_device_card.html [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/synced_device_card.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/browser/resources/md_history/synced_device_manager.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/test/data/webui/md_history/history_metrics_test.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/test/data/webui/md_history/history_synced_tabs_test.js [modify] https://crrev.com/8a0c47c2aa6dfb3daca92636e4d8d45e7ab0d647/chrome/test/data/webui/md_history/test_util.js
Comment 1 by tsergeant@chromium.org
, May 25 2016