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_PROFILES_PROFILE_LIST_DESKTOP_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "chrome/browser/profiles/profile_list.h" | 14 #include "chrome/browser/profiles/profile_list.h" |
15 | 15 |
16 class Browser; | |
17 class ProfileAttributesStorage; | 16 class ProfileAttributesStorage; |
18 | 17 |
19 // This model represents the profiles added to desktop Chrome (as opposed to | 18 // This model represents the profiles added to desktop Chrome (as opposed to |
20 // Chrome OS). Profiles marked not to appear in the list will be omitted | 19 // Chrome OS). Profiles marked not to appear in the list will be omitted |
21 // throughout. | 20 // throughout. |
22 class ProfileListDesktop : public ProfileList { | 21 class ProfileListDesktop : public ProfileList { |
23 public: | 22 public: |
24 explicit ProfileListDesktop(ProfileAttributesStorage* profile_storage); | 23 explicit ProfileListDesktop(ProfileAttributesStorage* profile_storage); |
25 ~ProfileListDesktop() override; | 24 ~ProfileListDesktop() override; |
26 | 25 |
(...skipping 15 matching lines...) Expand all Loading... |
42 // The path of the currently active profile. | 41 // The path of the currently active profile. |
43 base::FilePath active_profile_path_; | 42 base::FilePath active_profile_path_; |
44 | 43 |
45 // List of built "menu items." | 44 // List of built "menu items." |
46 std::vector<std::unique_ptr<AvatarMenu::Item>> items_; | 45 std::vector<std::unique_ptr<AvatarMenu::Item>> items_; |
47 | 46 |
48 DISALLOW_COPY_AND_ASSIGN(ProfileListDesktop); | 47 DISALLOW_COPY_AND_ASSIGN(ProfileListDesktop); |
49 }; | 48 }; |
50 | 49 |
51 #endif // CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ | 50 #endif // CHROME_BROWSER_PROFILES_PROFILE_LIST_DESKTOP_H_ |
OLD | NEW |