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 99dc03c711d93e4b36454dbf7be7e97a7c784b70..bd2048b9d8201793669e3c487db0fb587a2303be 100644 |
--- a/chrome/browser/ui/webui/signin/login_ui_service.h |
+++ b/chrome/browser/ui/webui/signin/login_ui_service.h |
@@ -35,11 +35,14 @@ class LoginUIService : public KeyedService { |
public: |
// Called when a new login UI is shown. |
// |ui| The login UI that was just shown. Will never be null. |
- virtual void OnLoginUIShown(LoginUI* ui) = 0; |
+ virtual void OnLoginUIShown(LoginUI* ui) {} |
// Called when a login UI is closed. |
// |ui| The login UI that was just closed; will never be null. |
- virtual void OnLoginUIClosed(LoginUI* ui) = 0; |
+ virtual void OnLoginUIClosed(LoginUI* ui) {} |
+ |
+ // Called when a confirmation UI for untrusted signin is shown. |
+ virtual void UntrustedSigninUIShown() {} |
Roger Tawa OOO till Jul 10th
2014/07/28 14:27:50
Is this shown instead of or as well as OnLoginUISh
guohui
2014/08/07 19:53:34
The documentation has been updated to cover all lo
|
protected: |
virtual ~Observer() {} |
@@ -65,6 +68,9 @@ class LoginUIService : public KeyedService { |
// sets current_login_ui() to null. |
void LoginUIClosed(LoginUI* ui); |
+ // Called when a confirmation UI for untrusted signin is shown. |
+ void UntrustedSigninUIShown(); |
Roger Tawa OOO till Jul 10th
2014/07/28 14:27:50
Rename as well.
guohui
2014/08/07 19:53:34
for consistency i think we should not add On here.
|
+ |
// 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. |