Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: chrome/browser/profiles/profile_info_cache.h

Issue 1191453002: Implement "open link as user" context menu entry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698