| Index: ash/system/screen_security/screen_capture_tray_item.cc
|
| diff --git a/ash/system/screen_security/screen_capture_tray_item.cc b/ash/system/screen_security/screen_capture_tray_item.cc
|
| index dbf9a0bcb6b218ec7d214511525fdf15203fba50..bdc3599c9764007da38ce28cd848b888a1f2e422 100644
|
| --- a/ash/system/screen_security/screen_capture_tray_item.cc
|
| +++ b/ash/system/screen_security/screen_capture_tray_item.cc
|
| @@ -9,10 +9,10 @@
|
| #include "ash/metrics/user_metrics_action.h"
|
| #include "ash/resources/grit/ash_resources.h"
|
| #include "ash/shell.h"
|
| +#include "ash/shell_port.h"
|
| #include "ash/strings/grit/ash_strings.h"
|
| #include "ash/system/system_notifier.h"
|
| #include "ash/system/tray/system_tray_notifier.h"
|
| -#include "ash/wm_shell.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/message_center/message_center.h"
|
| @@ -68,12 +68,12 @@ std::string ScreenCaptureTrayItem::GetNotificationId() {
|
| }
|
|
|
| void ScreenCaptureTrayItem::RecordStoppedFromDefaultViewMetric() {
|
| - WmShell::Get()->RecordUserMetricsAction(
|
| + ShellPort::Get()->RecordUserMetricsAction(
|
| UMA_STATUS_AREA_SCREEN_CAPTURE_DEFAULT_STOP);
|
| }
|
|
|
| void ScreenCaptureTrayItem::RecordStoppedFromNotificationViewMetric() {
|
| - WmShell::Get()->RecordUserMetricsAction(
|
| + ShellPort::Get()->RecordUserMetricsAction(
|
| UMA_STATUS_AREA_SCREEN_CAPTURE_NOTIFICATION_STOP);
|
| }
|
|
|
|
|