OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_LOGIN_OWNER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "chrome/browser/chromeos/login/owner_key_utils.h" | 14 #include "chrome/browser/chromeos/login/owner_key_utils.h" |
14 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
15 #include "crypto/rsa_private_key.h" | 16 #include "crypto/rsa_private_key.h" |
16 | 17 |
17 class FilePath; | |
18 | |
19 namespace content { | 18 namespace content { |
20 class NotificationDetails; | 19 class NotificationDetails; |
21 } | 20 } |
22 | 21 |
23 namespace chromeos { | 22 namespace chromeos { |
24 | 23 |
25 // This class allows the registration of an Owner of a Chromium OS device. | 24 // This class allows the registration of an Owner of a Chromium OS device. |
26 // It handles generating the appropriate keys and storing them in the | 25 // It handles generating the appropriate keys and storing them in the |
27 // appropriate locations. | 26 // appropriate locations. |
28 class OwnerManager : public base::RefCountedThreadSafe<OwnerManager> { | 27 class OwnerManager : public base::RefCountedThreadSafe<OwnerManager> { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 scoped_refptr<OwnerKeyUtils> utils_; | 112 scoped_refptr<OwnerKeyUtils> utils_; |
114 | 113 |
115 friend class OwnerManagerTest; | 114 friend class OwnerManagerTest; |
116 | 115 |
117 DISALLOW_COPY_AND_ASSIGN(OwnerManager); | 116 DISALLOW_COPY_AND_ASSIGN(OwnerManager); |
118 }; | 117 }; |
119 | 118 |
120 } // namespace chromeos | 119 } // namespace chromeos |
121 | 120 |
122 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_MANAGER_H_ | 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNER_MANAGER_H_ |
OLD | NEW |