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

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

Issue 150003004: Replace PO2TS::GetPrimaryAccountId() with SMB::GetAuthenticatedAccountId. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 "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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698