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

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service.h

Issue 418043002: Add test for showing confirmation dialog for unsecure signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/webui/signin/login_ui_service.h
diff --git a/chrome/browser/ui/webui/signin/login_ui_service.h b/chrome/browser/ui/webui/signin/login_ui_service.h
index 0e52d09b6b22c9b33aa684764d4648c541269926..287617a3d7ad555b54e31b87db38b698c54aa30e 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.h
+++ b/chrome/browser/ui/webui/signin/login_ui_service.h
@@ -46,6 +46,9 @@ class LoginUIService : public KeyedService {
// sync starts.
virtual void OnSyncConfirmationUIClosed(bool configure_sync_first) {}
+ // Called when a confirmation UI for untrusted signin is shown.
+ virtual void OnUntrustedLoginUIShown() {}
+
protected:
virtual ~Observer() {}
};
@@ -73,6 +76,9 @@ class LoginUIService : public KeyedService {
// Called when the sync settings confirmation UI is closed.
void SyncConfirmationUIClosed(bool configure_sync_first);
+ // Called when a confirmation UI for untrusted signin is shown.
+ void UntrustedLoginUIShown();
+
// Delegate to an existing login dialog if one exists.
// If not, we make a new popup dialog window, and set it to
// chrome://signin to ask the user to sign in to chrome.

Powered by Google App Engine
This is Rietveld 408576698