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

Unified Diff: chrome/browser/memory/tab_manager.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: chrome/browser/memory/tab_manager.cc
diff --git a/chrome/browser/memory/tab_manager.cc b/chrome/browser/memory/tab_manager.cc
index c79a85993847050a965a53ec64b224d9276de209..86ad6c20ed7520d86844cd14954a94f56d6f6596 100644
--- a/chrome/browser/memory/tab_manager.cc
+++ b/chrome/browser/memory/tab_manager.cc
@@ -57,7 +57,7 @@
#if defined(OS_CHROMEOS)
#include "ash/multi_profile_uma.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "chrome/browser/memory/tab_manager_delegate_chromeos.h"
#include "components/user_manager/user_manager.h"
#endif
@@ -577,7 +577,7 @@ void TabManager::RecordDiscardStatistics() {
#if defined(OS_CHROMEOS)
// Record the discarded tab in relation to the amount of simultaneously
// logged in users.
- if (ash::WmShell::HasInstance()) {
+ if (ash::ShellPort::HasInstance()) {
ash::MultiProfileUMA::RecordDiscardedTab(
user_manager::UserManager::Get()->GetLoggedInUsers().size());
}

Powered by Google App Engine
This is Rietveld 408576698