Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / webui / signin / login_ui_service.h
index 709495f..2ad4d7e 100644 (file)
@@ -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.