OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/browser/policy/cloud/user_policy_signin_service_base.h" | 14 #include "chrome/browser/policy/cloud/user_policy_signin_service_base.h" |
15 #include "chrome/browser/signin/profile_oauth2_token_service.h" | 15 #include "google_apis/gaia/oauth2_token_service.h" |
16 | 16 |
17 class Profile; | 17 class Profile; |
| 18 class ProfileOAuth2TokenService; |
18 | 19 |
19 namespace net { | 20 namespace net { |
20 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
21 } | 22 } |
22 | 23 |
23 namespace policy { | 24 namespace policy { |
24 | 25 |
25 class CloudPolicyClientRegistrationHelper; | 26 class CloudPolicyClientRegistrationHelper; |
26 | 27 |
27 // A specialization of the UserPolicySigninServiceBase for the desktop | 28 // A specialization of the UserPolicySigninServiceBase for the desktop |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // Weak pointer to the token service we use to authenticate during | 95 // Weak pointer to the token service we use to authenticate during |
95 // CloudPolicyClient registration. | 96 // CloudPolicyClient registration. |
96 ProfileOAuth2TokenService* oauth2_token_service_; | 97 ProfileOAuth2TokenService* oauth2_token_service_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService); | 99 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace policy | 102 } // namespace policy |
102 | 103 |
103 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ | 104 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ |
OLD | NEW |