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

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: fix isolate dependency Created 6 years, 3 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 709495f705fe80629ded95dc1b50eab4efb27fbc..2ad4d7e8b743a82bffe89b6c89a86212e59c9811 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.h
+++ b/chrome/browser/ui/webui/signin/login_ui_service.h
@@ -47,6 +47,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() {}
};
@@ -74,6 +77,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.
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc ('k') | chrome/browser/ui/webui/signin/login_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698