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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2944713003: After signin token check failed, show force reauth dialog and start window closing countdown. (Closed)
Patch Set: rebase from master Created 3 years, 6 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/ui/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 98ead916e7225cec73feea1f967eb3e55bf31d78..e19873385824ea28110730a11fe4e4254bae35f1 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -24,9 +24,14 @@
class Browser;
class LoginHandler;
class Profile;
+class SigninManager;
class WebShareTarget;
struct WebApplicationInfo;
+namespace base {
+class TimeDelta;
+}
+
namespace content {
class BrowserContext;
class ColorChooser;
@@ -159,6 +164,17 @@ void ShowWebShareTargetPickerDialog(gfx::NativeWindow parent_window,
#endif // TOOLKIT_VIEWS
+#if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
+
+// Show/Hide the ForcedReauthenticationDialog for |profile|.
sky 2017/06/22 03:28:14 Please document *all* paremeters.
zmin 2017/06/22 07:34:58 Done.
+void ShowForcedReauthenticationDialog(
sky 2017/06/22 03:28:14 Can this return an object that is used to delete/c
zmin 2017/06/22 07:34:58 Done.
+ Profile* profile,
+ SigninManager* signin_manager,
+ const base::TimeDelta& countdown_duration);
sky 2017/06/22 03:28:14 We typically don't use a const ref for TimeDelta,
zmin 2017/06/22 07:34:57 Done.
+void HideForcedReauthenticationDialog(Profile* profile);
+
+#endif // TOOLKIT_VIEWS && !OS_MACOSX
+
// Values used in the Dialog.Creation UMA metric. Each value represents a
// different type of dialog box.
// These values are written to logs. New enum values can be added, but existing

Powered by Google App Engine
This is Rietveld 408576698