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

Side by Side Diff: chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc

Issue 2148593004: mash: Move StatusTray and StatusAreaWidget to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@traydisplay
Patch Set: rebase Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/system/chromeos/screen_security/screen_tray_item.h" 5 #include "ash/common/system/chromeos/screen_security/screen_tray_item.h"
6 #include "ash/system/tray/system_tray.h" 6 #include "ash/common/system/tray/system_tray.h"
7 #include "ash/test/ash_test_base.h" 7 #include "ash/test/ash_test_base.h"
8 #include "chrome/browser/ui/ash/multi_user/user_switch_util.h" 8 #include "chrome/browser/ui/ash/multi_user/user_switch_util.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 class TrySwitchingUserTest : public ash::test::AshTestBase { 12 class TrySwitchingUserTest : public ash::test::AshTestBase {
13 public: 13 public:
14 // The action type to perform / check for upon user switching. 14 // The action type to perform / check for upon user switching.
15 enum ActionType { 15 enum ActionType {
16 NO_DIALOG, // No dialog should be shown. 16 NO_DIALOG, // No dialog should be shown.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 EXPECT_EQ(1, stop_share_callback_hit_count()); 205 EXPECT_EQ(1, stop_share_callback_hit_count());
206 // Another stop should have no effect. 206 // Another stop should have no effect.
207 StopShareSession(); 207 StopShareSession();
208 StopCaptureSession(); 208 StopCaptureSession();
209 EXPECT_EQ(1, switch_callback_hit_count()); 209 EXPECT_EQ(1, switch_callback_hit_count());
210 EXPECT_EQ(1, stop_capture_callback_hit_count()); 210 EXPECT_EQ(1, stop_capture_callback_hit_count());
211 EXPECT_EQ(1, stop_share_callback_hit_count()); 211 EXPECT_EQ(1, stop_share_callback_hit_count());
212 } 212 }
213 213
214 } // namespace ash 214 } // namespace ash
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/multi_user/user_switch_util.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698