| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual bool IsOmittedProfileAtIndex(size_t index) const = 0; | 69 virtual bool IsOmittedProfileAtIndex(size_t index) const = 0; |
| 70 | 70 |
| 71 virtual std::string GetManagedUserIdOfProfileAtIndex(size_t index) const = 0; | 71 virtual std::string GetManagedUserIdOfProfileAtIndex(size_t index) const = 0; |
| 72 | 72 |
| 73 // This profile is associated with an account but has been signed-out. | 73 // This profile is associated with an account but has been signed-out. |
| 74 virtual bool ProfileIsSigninRequiredAtIndex(size_t index) const = 0; | 74 virtual bool ProfileIsSigninRequiredAtIndex(size_t index) const = 0; |
| 75 | 75 |
| 76 // Profile is known to be ephemeral and should be deleted when closed. | 76 // Profile is known to be ephemeral and should be deleted when closed. |
| 77 virtual bool ProfileIsEphemeralAtIndex(size_t index) const = 0; | 77 virtual bool ProfileIsEphemeralAtIndex(size_t index) const = 0; |
| 78 | 78 |
| 79 // Returns true if the profile is using the name it was assigned by default |
| 80 // at creation (either the old-style "Lemonade" name, or the new "Profile %d" |
| 81 // style name). |
| 82 virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0; |
| 83 |
| 79 protected: | 84 protected: |
| 80 virtual ~ProfileInfoInterface() {} | 85 virtual ~ProfileInfoInterface() {} |
| 81 }; | 86 }; |
| 82 | 87 |
| 83 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ | 88 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_ |
| OLD | NEW |