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 virtual bool GetIsUsingGAIANameOfProfileAtIndex(size_t index) const = 0; | |
Miranda Callahan
2011/11/17 15:21:10
Could you add comments, at least for this one and
sail
2011/11/21 23:52:47
Done.
| |
42 | |
43 virtual const gfx::Image& GetGAIAPictureOfProfileAtIndex( | |
44 size_t index) const = 0; | |
45 | |
46 virtual bool GetIsUsingGAIAPictureOfProfileAtIndex(size_t index) const = 0; | |
47 | |
39 protected: | 48 protected: |
40 virtual ~ProfileInfoInterface() {} | 49 virtual ~ProfileInfoInterface() {} |
41 }; | 50 }; |
42 | 51 |
43 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 52 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
OLD | NEW |