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

Unified Diff: chrome/browser/signin/chrome_signin_client.h

Issue 2802373002: Add ForceSigninVerifier. (Closed)
Patch Set: rogers' comments Created 3 years, 8 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/chrome_signin_client.h
diff --git a/chrome/browser/signin/chrome_signin_client.h b/chrome/browser/signin/chrome_signin_client.h
index 430cb69cbac3a9cc0a5e4c1aa4bcae8c7dbca63c..57a822001d3dc53a2e788f473b18af44f01c8b58 100644
--- a/chrome/browser/signin/chrome_signin_client.h
+++ b/chrome/browser/signin/chrome_signin_client.h
@@ -17,6 +17,9 @@
#include "net/base/network_change_notifier.h"
#endif
+#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
+class ForceSigninVerifier;
+#endif
class Profile;
class ChromeSigninClient
@@ -107,6 +110,7 @@ class ChromeSigninClient
private:
void MaybeFetchSigninTokenHandle();
+ void VerifySyncToken();
void OnCloseBrowsersSuccess(
const base::Callback<void()>& sign_out,
const signin_metrics::ProfileSignout signout_source_metric,
@@ -120,8 +124,10 @@ class ChromeSigninClient
std::list<base::Closure> delayed_callbacks_;
#endif
- bool is_force_signin_enabled_;
bool should_display_user_manager_ = true;
+#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
+ std::unique_ptr<ForceSigninVerifier> force_signin_verifier_;
+#endif
std::unique_ptr<gaia::GaiaOAuthClient> oauth_client_;
std::unique_ptr<OAuth2TokenService::Request> oauth_request_;
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698