| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SUPERVISED_USER_MANAGER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_USER_MANAGER_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_USER_MANAGER_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_USER_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 const std::string& value); | 86 const std::string& value); |
| 87 | 87 |
| 88 bool GetUserIntegerValue(const std::string& user_id, | 88 bool GetUserIntegerValue(const std::string& user_id, |
| 89 const char* key, | 89 const char* key, |
| 90 int* out_value) const; | 90 int* out_value) const; |
| 91 | 91 |
| 92 void SetUserIntegerValue(const std::string& user_id, | 92 void SetUserIntegerValue(const std::string& user_id, |
| 93 const char* key, | 93 const char* key, |
| 94 const int value); | 94 const int value); |
| 95 | 95 |
| 96 bool GetUserBooleanValue(const std::string& user_id, |
| 97 const char* key, |
| 98 bool* out_value) const; |
| 99 |
| 100 void SetUserBooleanValue(const std::string& user_id, |
| 101 const char* key, |
| 102 const bool value); |
| 103 |
| 96 void CleanPref(const std::string& user_id, | 104 void CleanPref(const std::string& user_id, |
| 97 const char* key); | 105 const char* key); |
| 98 | 106 |
| 99 UserManagerImpl* owner_; | 107 UserManagerImpl* owner_; |
| 100 | 108 |
| 101 // Interface to the signed settings store. | 109 // Interface to the signed settings store. |
| 102 CrosSettings* cros_settings_; | 110 CrosSettings* cros_settings_; |
| 103 | 111 |
| 104 scoped_ptr<SupervisedUserAuthentication> authentication_; | 112 scoped_ptr<SupervisedUserAuthentication> authentication_; |
| 105 | 113 |
| 106 DISALLOW_COPY_AND_ASSIGN(SupervisedUserManagerImpl); | 114 DISALLOW_COPY_AND_ASSIGN(SupervisedUserManagerImpl); |
| 107 }; | 115 }; |
| 108 | 116 |
| 109 } // namespace chromeos | 117 } // namespace chromeos |
| 110 | 118 |
| 111 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_USER_MANAGER_IMPL_H_ | 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_USER_MANAGER_IMPL_H_ |
| OLD | NEW |