| 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_USER_POLICY_SIGNIN_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_USER_POLICY_SIGNIN_SERVICE_H_ |
| 6 #define CHROME_BROWSER_POLICY_USER_POLICY_SIGNIN_SERVICE_H_ | 6 #define CHROME_BROWSER_POLICY_USER_POLICY_SIGNIN_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/profiles/profile_keyed_service.h" | 10 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 11 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h" | |
| 12 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
| 13 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
| 13 #include "google_apis/gaia/oauth2_access_token_consumer.h" |
| 14 | 14 |
| 15 class OAuth2AccessTokenFetcher; | 15 class OAuth2AccessTokenFetcher; |
| 16 class Profile; | 16 class Profile; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class Time; | 19 class Time; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace policy { | 22 namespace policy { |
| 23 | 23 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // Weak pointer to the UserCloudPolicyManager (allows dependency injection | 64 // Weak pointer to the UserCloudPolicyManager (allows dependency injection |
| 65 // for tests). | 65 // for tests). |
| 66 UserCloudPolicyManager* manager_; | 66 UserCloudPolicyManager* manager_; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService); | 68 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninService); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace policy | 71 } // namespace policy |
| 72 | 72 |
| 73 #endif // CHROME_BROWSER_POLICY_USER_POLICY_SIGNIN_SERVICE_H_ | 73 #endif // CHROME_BROWSER_POLICY_USER_POLICY_SIGNIN_SERVICE_H_ |
| OLD | NEW |