OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ |
6 #define CHROME_BROWSER_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ | 6 #define CHROME_BROWSER_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "chrome/browser/chromeos/login/extended_authenticator.h" | 13 #include "chrome/browser/chromeos/login/auth/extended_authenticator.h" |
14 #include "chrome/browser/managed_mode/managed_user_shared_settings_service.h" | 14 #include "chrome/browser/managed_mode/managed_user_shared_settings_service.h" |
15 #include "chrome/browser/managed_mode/managed_user_sync_service.h" | 15 #include "chrome/browser/managed_mode/managed_user_sync_service.h" |
16 #include "chrome/browser/managed_mode/managed_users.h" | 16 #include "chrome/browser/managed_mode/managed_users.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 // Handles managed user password change that is detected while manager is | 21 // Handles managed user password change that is detected while manager is |
22 // signed in. | 22 // signed in. |
23 // It uses manager's master key to authorize update of managed user's key. | 23 // It uses manager's master key to authorize update of managed user's key. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 scoped_refptr<ExtendedAuthenticator> authenticator_; | 69 scoped_refptr<ExtendedAuthenticator> authenticator_; |
70 | 70 |
71 base::WeakPtrFactory<ManagerPasswordService> weak_ptr_factory_; | 71 base::WeakPtrFactory<ManagerPasswordService> weak_ptr_factory_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(ManagerPasswordService); | 73 DISALLOW_COPY_AND_ASSIGN(ManagerPasswordService); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace chromeos | 76 } // namespace chromeos |
77 #endif // CHROME_BROWSER_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ | 77 #endif // CHROME_BROWSER_MANAGED_MODE_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ |
OLD | NEW |