| 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/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0; | 31 virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0; |
| 32 | 32 |
| 33 virtual base::string16 GetShortcutNameOfProfileAtIndex( | 33 virtual base::string16 GetShortcutNameOfProfileAtIndex( |
| 34 size_t index) const = 0; | 34 size_t index) const = 0; |
| 35 | 35 |
| 36 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const = 0; | 36 virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const = 0; |
| 37 | 37 |
| 38 virtual base::string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; | 38 virtual base::string16 GetUserNameOfProfileAtIndex(size_t index) const = 0; |
| 39 | 39 |
| 40 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(size_t index) = 0; | 40 virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( |
| 41 size_t index) const = 0; |
| 41 | 42 |
| 42 virtual std::string GetLocalAuthCredentialsOfProfileAtIndex( | 43 virtual std::string GetLocalAuthCredentialsOfProfileAtIndex( |
| 43 size_t index) const = 0; | 44 size_t index) const = 0; |
| 44 | 45 |
| 45 // Returns true if the profile at the given index is currently running any | 46 // Returns true if the profile at the given index is currently running any |
| 46 // background apps. | 47 // background apps. |
| 47 virtual bool GetBackgroundStatusOfProfileAtIndex( | 48 virtual bool GetBackgroundStatusOfProfileAtIndex( |
| 48 size_t index) const = 0; | 49 size_t index) const = 0; |
| 49 | 50 |
| 50 virtual base::string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0; | 51 virtual base::string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0; | 86 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0; |
| 86 | 87 |
| 87 // Returns true if the user has never manually selected a profile avatar. | 88 // Returns true if the user has never manually selected a profile avatar. |
| 88 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0; | 89 virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0; |
| 89 | 90 |
| 90 protected: | 91 protected: |
| 91 virtual ~ProfileInfoInterface() {} | 92 virtual ~ProfileInfoInterface() {} |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 95 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
| OLD | NEW |