Chromium Code Reviews| 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 |