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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_ui.h

Issue 11316299: Enable web-based sign in flow by default. Can use command line argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BiDi tests and indent Created 8 years 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/sync_promo/sync_promo_ui.h
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
index 592af9fc33619ff1bea8b3fba96eb4e013d498d9..59f98763c670c854f12aad19b32fd74797931b95 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
@@ -67,6 +67,11 @@ class SyncPromoUI : public content::WebUIController {
// Returns whether the given sync URL contains auto_close parameter.
static bool GetAutoCloseForSyncPromoURL(const GURL& url);
+ // Returns true if chrome should use the web-based sign in flow, false if
+ // chrome should use the ClientLogin flow. This function will return true
+ // only for platforms where |ENABLE_ONE_CLICK_SIGNIN| is defined.
+ static bool UseWebBasedSigninFlow();
+
private:
DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
};
« no previous file with comments | « chrome/browser/ui/webui/bidi_checker_web_ui_test.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698