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

Unified Diff: chrome/browser/ui/ash/multi_user/user_switch_util.h

Issue 2469853003: Revert of Use a standard message box for DesktopCastingWarningView. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | chrome/browser/ui/ash/multi_user/user_switch_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/multi_user/user_switch_util.h
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_util.h b/chrome/browser/ui/ash/multi_user/user_switch_util.h
index ee676af6402ef8cf6839e681aeec8a9a7f6785ac..aa94d8127ad69e9b202fb6abfffa85ad4fa7a2d7 100644
--- a/chrome/browser/ui/ash/multi_user/user_switch_util.h
+++ b/chrome/browser/ui/ash/multi_user/user_switch_util.h
@@ -13,4 +13,8 @@
// will be called.
void TrySwitchingActiveUser(const base::Callback<void()> switch_user);
+// Terminates the "DesktopCastingWarning" dialog from a unit tests and |accept|s
+// it. False will be returned if there was no dialog shown.
+bool TestAndTerminateDesktopCastingWarningForTest(bool accept);
+
#endif // CHROME_BROWSER_UI_ASH_MULTI_USER_USER_SWITCH_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/ui/ash/multi_user/user_switch_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698