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

Unified Diff: chrome/browser/profiles/profile_info_cache.h

Issue 134863002: Track when profiles are last used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_info_cache.h
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index cc61e04a714189b9434a2b774eb46cc9c5b15939..922a090e9bac9b91d131dca336c132da727ade74 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -57,6 +57,7 @@ class ProfileInfoCache : public ProfileInfoInterface,
virtual base::string16 GetShortcutNameOfProfileAtIndex(size_t index)
const OVERRIDE;
virtual base::FilePath GetPathOfProfileAtIndex(size_t index) const OVERRIDE;
+ virtual base::Time GetProfileActive(size_t index) const OVERRIDE;
noms (inactive) 2014/01/13 16:39:44 I think the function should end in "AtIndex", to b
bcwhite 2014/01/13 17:05:48 Done.
virtual base::string16 GetUserNameOfProfileAtIndex(
size_t index) const OVERRIDE;
virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(
@@ -88,6 +89,7 @@ class ProfileInfoCache : public ProfileInfoInterface,
size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const;
+ void SetProfileActive(size_t index);
noms (inactive) 2014/01/13 16:39:44 Same comment as above
bcwhite 2014/01/13 17:05:48 Done.
void SetNameOfProfileAtIndex(size_t index, const base::string16& name);
void SetShortcutNameOfProfileAtIndex(size_t index,
const base::string16& name);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698