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 "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; | 29 virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; |
30 | 30 |
31 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( | 31 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( |
32 size_t index) const = 0; | 32 size_t index) const = 0; |
33 | 33 |
34 // Returns true if the profile at the given index is currently running any | 34 // Returns true if the profile at the given index is currently running any |
35 // background apps. | 35 // background apps. |
36 virtual bool GetBackgroundStatusOfProfileAtIndex( | 36 virtual bool GetBackgroundStatusOfProfileAtIndex( |
37 size_t index) const = 0; | 37 size_t index) const = 0; |
38 | 38 |
39 virtual string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0; | |
40 | |
41 // Checks if the GAIA name should be used as the profile's name. | |
42 virtual bool IsUsingGAIANameOfProfileAtIndex(size_t index) const = 0; | |
43 | |
44 virtual const gfx::Image& GetGAIAPictureOfProfileAtIndex( | |
45 size_t index) const = 0; | |
46 | |
47 // Checks if the GAIA picture should be used as the profile's avatar icon. | |
48 virtual bool IsUsingGAIAPictureOfProfileAtIndex(size_t index) const = 0; | |
49 | |
50 protected: | 39 protected: |
51 virtual ~ProfileInfoInterface() {} | 40 virtual ~ProfileInfoInterface() {} |
52 }; | 41 }; |
53 | 42 |
54 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 43 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
OLD | NEW |