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

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

Issue 12538009: Public Sessions: fetch device robot api token during enterprise enrollment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: updated tests Created 7 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
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 097008090d8d63114f418dcaf3e89b4a45086e34..122289ef211972466e0a33f78d7cf1e5b16d5771 100644
--- a/chrome/browser/chromeos/settings/device_oauth2_token_service.h
+++ b/chrome/browser/chromeos/settings/device_oauth2_token_service.h
@@ -17,6 +17,12 @@ namespace net {
class URLRequestContextGetter;
}
+namespace policy {
+namespace test {
+class DeviceCloudPolicyManagerChromeOSEnrollmentTest;
+}
+}
+
class GoogleServiceAuthError;
class PrefRegistrySimple;
class PrefService;
@@ -44,6 +50,7 @@ class DeviceOAuth2TokenService : public OAuth2TokenService {
private:
friend class DeviceOAuth2TokenServiceFactory;
+ friend class policy::test::DeviceCloudPolicyManagerChromeOSEnrollmentTest;
Mattias Nissler (ping if slow) 2013/04/22 10:59:00 Is there anything wrong with making GetRefreshToke
David Roche 2013/04/23 01:36:08 I guess not. It seemed like clients of these clas
FRIEND_TEST_ALL_PREFIXES(DeviceOAuth2TokenServiceTest, SaveEncryptedToken);
// Use DeviceOAuth2TokenServiceFactory to get an instance of this class.

Powered by Google App Engine
This is Rietveld 408576698