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_PROFILES_PROFILE_INFO_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
9 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
10 | 12 |
11 namespace base { | 13 namespace base { |
12 class Time; | 14 class Time; |
13 } | 15 } |
14 | 16 |
15 namespace gfx { | 17 namespace gfx { |
16 class Image; | 18 class Image; |
17 } | 19 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0; | 98 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0; |
97 | 99 |
98 // Returns true if the given profile is connected to an account. | 100 // Returns true if the given profile is connected to an account. |
99 virtual bool ProfileIsAuthenticatedAtIndex(size_t index) const = 0; | 101 virtual bool ProfileIsAuthenticatedAtIndex(size_t index) const = 0; |
100 | 102 |
101 protected: | 103 protected: |
102 virtual ~ProfileInfoInterface() {} | 104 virtual ~ProfileInfoInterface() {} |
103 }; | 105 }; |
104 | 106 |
105 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 107 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
OLD | NEW |