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

Unified Diff: chrome/browser/sync/sync_setup_wizard.h

Issue 7497069: Support Sync following Gaia OAuth authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing a stupid. Created 9 years, 4 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/sync/sync_setup_wizard.h
diff --git a/chrome/browser/sync/sync_setup_wizard.h b/chrome/browser/sync/sync_setup_wizard.h
index 4b037cdbc94438ac2b14c9470bf336d6baa98cb9..fc1ba7737e47896d2da29c185b00797467850ccf 100644
--- a/chrome/browser/sync/sync_setup_wizard.h
+++ b/chrome/browser/sync/sync_setup_wizard.h
@@ -66,6 +66,10 @@ class SyncSetupWizard {
// if various buttons in the UI should be enabled or disabled.
bool IsVisible() const;
+ // Returns true iff Sync is using OAuth-based authentication. See also
+ // GetLoginState().
+ static bool IsUsingOAuth();
+
// Returns either GAIA_LOGIN or OAUTH_LOGIN depending on which
// authentication scheme is in force.
static State GetLoginState();

Powered by Google App Engine
This is Rietveld 408576698