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

Unified Diff: chrome/browser/chromeos/settings/device_oauth2_token_service.h

Issue 23068005: Convert UserPolicySigninService to use OAuth2TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 7 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/chromeos/settings/device_oauth2_token_service.h
diff --git a/chrome/browser/chromeos/settings/device_oauth2_token_service.h b/chrome/browser/chromeos/settings/device_oauth2_token_service.h
index ca6f41e727d713d453d524d868ba979fd87fbefd..24f852911b867798e8d77fa0280b29c691a5f44b 100644
--- a/chrome/browser/chromeos/settings/device_oauth2_token_service.h
+++ b/chrome/browser/chromeos/settings/device_oauth2_token_service.h
@@ -54,6 +54,9 @@ class DeviceOAuth2TokenService : public OAuth2TokenService {
// Pull the robot account ID from device policy.
virtual std::string GetRobotAccountId();
+ // Implementation of OAuth2TokenService.
+ virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
+
private:
class ValidatingConsumer;
friend class ValidatingConsumer;
@@ -66,9 +69,6 @@ class DeviceOAuth2TokenService : public OAuth2TokenService {
PrefService* local_state);
virtual ~DeviceOAuth2TokenService();
- // Implementation of OAuth2TokenService.
- virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
-
void OnValidationComplete(bool token_is_valid);
bool refresh_token_is_valid_;
« no previous file with comments | « chrome/browser/chromeos/power/power_prefs_unittest.cc ('k') | chrome/browser/chromeos/settings/device_oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698