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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 10332185: Update behavior of one-click infobar to remove modal dialog, add "undo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor comment fixes Created 8 years, 7 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/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.

Powered by Google App Engine
This is Rietveld 408576698