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

Side by Side Diff: chrome/browser/policy/cloud/user_policy_signin_service.h

Issue 165543004: Revert of Replace PO2TS::GetPrimaryAccountId() with SMB::GetAuthenticatedAccountId. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "google_apis/gaia/oauth2_token_service.h" 15 #include "chrome/browser/signin/profile_oauth2_token_service.h"
16 16
17 class Profile; 17 class Profile;
18 class ProfileOAuth2TokenService;
19 18
20 namespace net { 19 namespace net {
21 class URLRequestContextGetter; 20 class URLRequestContextGetter;
22 } 21 }
23 22
24 namespace policy { 23 namespace policy {
25 24
26 class CloudPolicyClientRegistrationHelper; 25 class CloudPolicyClientRegistrationHelper;
27 26
28 // A specialization of the UserPolicySigninServiceBase for the desktop 27 // A specialization of the UserPolicySigninServiceBase for the desktop
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Weak pointer to the token service we use to authenticate during 94 // Weak pointer to the token service we use to authenticate during
96 // CloudPolicyClient registration. 95 // CloudPolicyClient registration.
97 ProfileOAuth2TokenService* oauth2_token_service_; 96 ProfileOAuth2TokenService* oauth2_token_service_;
98 97
99 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService); 98 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService);
100 }; 99 };
101 100
102 } // namespace policy 101 } // namespace policy
103 102
104 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_ 103 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698