OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ATTRIBUTES_STORAGE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
8 class ProfileAttributesEntry; | 12 class ProfileAttributesEntry; |
9 | 13 |
10 class ProfileAttributesStorage { | 14 class ProfileAttributesStorage { |
11 public: | 15 public: |
12 ProfileAttributesStorage() {} | 16 ProfileAttributesStorage() {} |
13 ~ProfileAttributesStorage() {} | 17 ~ProfileAttributesStorage() {} |
14 | 18 |
15 // If the |supervised_user_id| is non-empty, the profile will be marked to be | 19 // If the |supervised_user_id| is non-empty, the profile will be marked to be |
16 // omitted from the avatar-menu list on desktop versions. This is used while a | 20 // omitted from the avatar-menu list on desktop versions. This is used while a |
17 // supervised user is in the process of being registered with the server. Use | 21 // supervised user is in the process of being registered with the server. Use |
(...skipping 21 matching lines...) Expand all Loading... |
39 virtual bool GetProfileAttributesWithPath( | 43 virtual bool GetProfileAttributesWithPath( |
40 const base::FilePath& path, ProfileAttributesEntry** entry) = 0; | 44 const base::FilePath& path, ProfileAttributesEntry** entry) = 0; |
41 | 45 |
42 // Returns the count of known profiles. | 46 // Returns the count of known profiles. |
43 virtual size_t GetNumberOfProfiles() const = 0; | 47 virtual size_t GetNumberOfProfiles() const = 0; |
44 | 48 |
45 DISALLOW_COPY_AND_ASSIGN(ProfileAttributesStorage); | 49 DISALLOW_COPY_AND_ASSIGN(ProfileAttributesStorage); |
46 }; | 50 }; |
47 | 51 |
48 #endif // CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ | 52 #endif // CHROME_BROWSER_PROFILES_PROFILE_ATTRIBUTES_STORAGE_H_ |
OLD | NEW |