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

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

Issue 12374007: signin: force web signin flow initiated visits to accounts.google.com to their own process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/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 decb4024d08959b7652dc035ca877e5396ae05d3..3232d8c48137ba48e8b2c69ec1183ad6cb6cf879 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
@@ -79,6 +79,8 @@ class SyncPromoUI : public content::WebUIController {
// Forces UseWebBasedSigninFlow() to return true when set; used in tests only.
static void ForceWebBasedSigninFlowForTesting(bool force);
+ static bool IsWebBasedSigninFlowURL(const GURL& url);
+
private:
DISALLOW_COPY_AND_ASSIGN(SyncPromoUI);
};

Powered by Google App Engine
This is Rietveld 408576698