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

Unified Diff: ash/system/screen_security/screen_capture_tray_item.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698