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(); |