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

Side by Side Diff: chrome/browser/supervised_user/chromeos/manager_password_service.h

Issue 391373002: Refactoring : Move AuthAttempt and Authenticators to chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge w/ToT Created 6 years, 5 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 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_SUPERVISED_USER_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_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/auth/extended_authenticator.h"
14 #include "chrome/browser/supervised_user/supervised_user_shared_settings_service .h" 13 #include "chrome/browser/supervised_user/supervised_user_shared_settings_service .h"
15 #include "chrome/browser/supervised_user/supervised_user_sync_service.h" 14 #include "chrome/browser/supervised_user/supervised_user_sync_service.h"
16 #include "chrome/browser/supervised_user/supervised_users.h" 15 #include "chrome/browser/supervised_user/supervised_users.h"
16 #include "chromeos/login/auth/extended_authenticator.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 class UserContext; 21 class UserContext;
22 22
23 // Handles supervised user password change that is detected while manager is 23 // Handles supervised user password change that is detected while manager is
24 // signed in. 24 // signed in.
25 // It uses manager's master key to authorize update of supervised user's key. 25 // It uses manager's master key to authorize update of supervised user's key.
26 // Edge case: Pre-M35 supervised users don't have correct labels for keys. 26 // Edge case: Pre-M35 supervised users don't have correct labels for keys.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 scoped_refptr<ExtendedAuthenticator> authenticator_; 73 scoped_refptr<ExtendedAuthenticator> authenticator_;
74 74
75 base::WeakPtrFactory<ManagerPasswordService> weak_ptr_factory_; 75 base::WeakPtrFactory<ManagerPasswordService> weak_ptr_factory_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(ManagerPasswordService); 77 DISALLOW_COPY_AND_ASSIGN(ManagerPasswordService);
78 }; 78 };
79 79
80 } // namespace chromeos 80 } // namespace chromeos
81 #endif // CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_ 81 #endif // CHROME_BROWSER_SUPERVISED_USER_CHROMEOS_MANAGER_PASSWORD_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller_browsertest.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698