Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6467)

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 2390793002: Removed Ash.AppList.TimeBetweenTaskSwitches and Ash.Tab.TimeBetweenSwitchToExistingTabUserActions h… (Closed)
Patch Set: Fixed up ash_unittests. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index b348d1a27437e8b83f53aedc641fd8e6741518ca..f19bb18c297cdd07a66793fd3f0b632506c72601 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -6,7 +6,6 @@
#include "ash/common/shelf/shelf_delegate.h"
#include "ash/common/wm_shell.h"
-#include "ash/metrics/task_switch_metrics_recorder.h"
#include "ash/shell.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
@@ -107,14 +106,6 @@ void AppListControllerDelegateAsh::ActivateApp(
const extensions::Extension* extension,
AppListSource source,
int event_flags) {
- // TODO(mfomitchev): Figure this out for Mustash - crbug.com/616581
- if (ash::Shell::HasInstance()) {
- ash::Shell::GetInstance()
- ->metrics()
- ->task_switch_metrics_recorder()
- .OnTaskSwitch(ash::TaskSwitchSource::APP_LIST);
- }
-
// Platform apps treat activations as a launch. The app can decide whether to
// show a new window or focus an existing window as it sees fit.
if (extension->is_platform_app()) {
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698