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

Unified Diff: chrome/browser/apps/app_browsertest.cc

Issue 1053013007: Minimized windows should not be activated by another user in multiprofile scenario. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address skuhne@'s comments. Created 5 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
« no previous file with comments | « ash/wm/ash_focus_rules.cc ('k') | chrome/browser/chromeos/profiles/profile_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index 81404492df242ff36c272ef6ea4370928045d95f..422c547c6739d7acba4a7f688043202e7c9dc104 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -1241,6 +1241,9 @@ class RestartDeviceTest : public PlatformAppBrowserTest {
.WillRepeatedly(testing::Return(true));
EXPECT_CALL(*mock_user_manager_, IsLoggedInAsKioskApp())
.WillRepeatedly(testing::Return(true));
+ EXPECT_CALL(*mock_user_manager_, GetLoggedInUsers())
+ .WillRepeatedly(testing::Invoke(mock_user_manager_,
+ &chromeos::MockUserManager::GetUsers));
}
void TearDownOnMainThread() override {
« no previous file with comments | « ash/wm/ash_focus_rules.cc ('k') | chrome/browser/chromeos/profiles/profile_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698