| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CACHE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // the item being referred to to change out from under you. | 67 // the item being referred to to change out from under you. |
| 68 // Deprecated. Prefer using the ProfileAttributesStorage interface instead of | 68 // Deprecated. Prefer using the ProfileAttributesStorage interface instead of |
| 69 // directly referring to this implementation. | 69 // directly referring to this implementation. |
| 70 size_t GetIndexOfProfileWithPath( | 70 size_t GetIndexOfProfileWithPath( |
| 71 const base::FilePath& profile_path) const override; | 71 const base::FilePath& profile_path) const override; |
| 72 base::string16 GetNameOfProfileAtIndex(size_t index) const override; | 72 base::string16 GetNameOfProfileAtIndex(size_t index) const override; |
| 73 base::string16 GetShortcutNameOfProfileAtIndex(size_t index) const override; | 73 base::string16 GetShortcutNameOfProfileAtIndex(size_t index) const override; |
| 74 base::FilePath GetPathOfProfileAtIndex(size_t index) const override; | 74 base::FilePath GetPathOfProfileAtIndex(size_t index) const override; |
| 75 base::Time GetProfileActiveTimeAtIndex(size_t index) const override; | 75 base::Time GetProfileActiveTimeAtIndex(size_t index) const override; |
| 76 base::string16 GetUserNameOfProfileAtIndex(size_t index) const override; | 76 base::string16 GetUserNameOfProfileAtIndex(size_t index) const override; |
| 77 const gfx::Image& GetAvatarIconOfProfileAtIndex(size_t index) override; | 77 const gfx::Image& GetAvatarIconOfProfileAtIndex(size_t index) const override; |
| 78 std::string GetLocalAuthCredentialsOfProfileAtIndex( | 78 std::string GetLocalAuthCredentialsOfProfileAtIndex( |
| 79 size_t index) const override; | 79 size_t index) const override; |
| 80 std::string GetPasswordChangeDetectionTokenAtIndex( | 80 std::string GetPasswordChangeDetectionTokenAtIndex( |
| 81 size_t index) const override; | 81 size_t index) const override; |
| 82 // Note that a return value of false could mean an error in collection or | 82 // Note that a return value of false could mean an error in collection or |
| 83 // that there are currently no background apps running. However, the action | 83 // that there are currently no background apps running. However, the action |
| 84 // which results is the same in both cases (thus far). | 84 // which results is the same in both cases (thus far). |
| 85 bool GetBackgroundStatusOfProfileAtIndex(size_t index) const override; | 85 bool GetBackgroundStatusOfProfileAtIndex(size_t index) const override; |
| 86 base::string16 GetGAIANameOfProfileAtIndex(size_t index) const override; | 86 base::string16 GetGAIANameOfProfileAtIndex(size_t index) const override; |
| 87 base::string16 GetGAIAGivenNameOfProfileAtIndex(size_t index) const override; | 87 base::string16 GetGAIAGivenNameOfProfileAtIndex(size_t index) const override; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 avatar_images_downloads_in_progress_; | 268 avatar_images_downloads_in_progress_; |
| 269 | 269 |
| 270 // Determines of the ProfileAvatarDownloader should be created and executed | 270 // Determines of the ProfileAvatarDownloader should be created and executed |
| 271 // or not. Only set to true for tests. | 271 // or not. Only set to true for tests. |
| 272 bool disable_avatar_download_for_testing_; | 272 bool disable_avatar_download_for_testing_; |
| 273 | 273 |
| 274 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); | 274 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCache); |
| 275 }; | 275 }; |
| 276 | 276 |
| 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ | 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_H_ |
| OLD | NEW |