Chromium Code Reviews| 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_OWNERSHIP_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 OwnerManager::Delegate* d); | 122 OwnerManager::Delegate* d); |
| 123 static void FailAttempt(OwnerManager::Delegate* d); | 123 static void FailAttempt(OwnerManager::Delegate* d); |
| 124 | 124 |
| 125 OwnerManager* manager() { return manager_.get(); } | 125 OwnerManager* manager() { return manager_.get(); } |
| 126 | 126 |
| 127 scoped_refptr<OwnerManager> manager_; | 127 scoped_refptr<OwnerManager> manager_; |
| 128 scoped_refptr<OwnerKeyUtils> utils_; | 128 scoped_refptr<OwnerKeyUtils> utils_; |
| 129 content::NotificationRegistrar notification_registrar_; | 129 content::NotificationRegistrar notification_registrar_; |
| 130 volatile Status ownership_status_; | 130 volatile Status ownership_status_; |
| 131 base::Lock ownership_status_lock_; | 131 base::Lock ownership_status_lock_; |
| 132 // If true, current user is regarded as owner (for testing only). | |
|
Nikita (slow)
2011/12/12 11:04:57
nit: insert empty line before comment.
Ivan Korotkov
2011/12/13 13:15:09
Done.
| |
| 133 bool force_ownership_; | |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace chromeos | 136 } // namespace chromeos |
| 135 | 137 |
| 136 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ | 138 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ |
| OLD | NEW |