Index: chrome/browser/ui/browser_window.h |
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h |
index 84ab861e6f3d2ff641bf887950b4271ab41c6de5..c8c61c0554f854c09fc907d232dbc339017d928c 100644 |
--- a/chrome/browser/ui/browser_window.h |
+++ b/chrome/browser/ui/browser_window.h |
@@ -217,11 +217,12 @@ class BrowserWindow : public BaseWindow { |
virtual void ShowChromeToMobileBubble() = 0; |
#if defined(ENABLE_ONE_CLICK_SIGNIN) |
- // Shows the one-click sign in bubble. The given closures are run |
- // when their corresponding links are clicked. |
+ // Shows the one-click sign in bubble. If the user chooses to accept the |
+ // sign in, |start_sync_callback| is called. The boolean argument is true |
+ // if the default sync settings should be used, and false if the user wants |
+ // to configure the settings. |
virtual void ShowOneClickSigninBubble( |
- const base::Closure& learn_more_callback, |
- const base::Closure& advanced_callback) = 0; |
+ const base::Callback<void(bool)>& start_sync_callback) = 0; |
#endif |
// Whether or not the shelf view is visible. |