| 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> |
| 11 | 11 |
| 12 #include "base/synchronization/lock.h" |
| 12 #include "chrome/browser/chromeos/login/owner_key_utils.h" | 13 #include "chrome/browser/chromeos/login/owner_key_utils.h" |
| 13 #include "chrome/browser/chromeos/login/owner_manager.h" | 14 #include "chrome/browser/chromeos/login/owner_manager.h" |
| 14 #include "content/browser/browser_thread.h" | 15 #include "content/browser/browser_thread.h" |
| 15 #include "content/common/notification_observer.h" | 16 #include "content/common/notification_observer.h" |
| 16 #include "content/common/notification_registrar.h" | 17 #include "content/common/notification_registrar.h" |
| 17 #include "content/common/notification_service.h" | 18 #include "content/common/notification_service.h" |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 template <typename T> struct DefaultLazyInstanceTraits; | 21 template <typename T> struct DefaultLazyInstanceTraits; |
| 21 } | 22 } |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 scoped_refptr<OwnerManager> manager_; | 110 scoped_refptr<OwnerManager> manager_; |
| 110 scoped_refptr<OwnerKeyUtils> utils_; | 111 scoped_refptr<OwnerKeyUtils> utils_; |
| 111 NotificationRegistrar notification_registrar_; | 112 NotificationRegistrar notification_registrar_; |
| 112 Status ownership_status_; | 113 Status ownership_status_; |
| 113 base::Lock ownership_status_lock_; | 114 base::Lock ownership_status_lock_; |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 } // namespace chromeos | 117 } // namespace chromeos |
| 117 | 118 |
| 118 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ | 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OWNERSHIP_SERVICE_H_ |
| OLD | NEW |