| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILES_AVATAR_MENU_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| 6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 6 #define CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 base::string16 sync_state; | 51 base::string16 sync_state; |
| 52 | 52 |
| 53 // Whether or not the current profile is signed in. If true, |sync_state| is | 53 // Whether or not the current profile is signed in. If true, |sync_state| is |
| 54 // expected to be the email of the signed in user. | 54 // expected to be the email of the signed in user. |
| 55 bool signed_in; | 55 bool signed_in; |
| 56 | 56 |
| 57 // Whether or not the current profile requires sign-in before use. | 57 // Whether or not the current profile requires sign-in before use. |
| 58 bool signin_required; | 58 bool signin_required; |
| 59 | 59 |
| 60 // Whether or not the current profile is a supervised user | 60 // Whether or not the current profile is a supervised user |
| 61 // (see ManagedUserService). | 61 // (see SupervisedUserService). |
| 62 bool supervised; | 62 bool supervised; |
| 63 | 63 |
| 64 // The index in the menu of this profile, used by views to refer to | 64 // The index in the menu of this profile, used by views to refer to |
| 65 // profiles. | 65 // profiles. |
| 66 size_t menu_index; | 66 size_t menu_index; |
| 67 | 67 |
| 68 // The index in the |profile_cache| for this profile. | 68 // The index in the |profile_cache| for this profile. |
| 69 size_t profile_index; | 69 size_t profile_index; |
| 70 | 70 |
| 71 // The path of this profile. | 71 // The path of this profile. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // Browser in which this avatar menu resides. Weak. | 157 // Browser in which this avatar menu resides. Weak. |
| 158 Browser* browser_; | 158 Browser* browser_; |
| 159 | 159 |
| 160 // Listens for notifications from the ProfileInfoCache. | 160 // Listens for notifications from the ProfileInfoCache. |
| 161 content::NotificationRegistrar registrar_; | 161 content::NotificationRegistrar registrar_; |
| 162 | 162 |
| 163 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); | 163 DISALLOW_COPY_AND_ASSIGN(AvatarMenu); |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ | 166 #endif // CHROME_BROWSER_PROFILES_AVATAR_MENU_H_ |
| OLD | NEW |