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

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

Issue 134863002: Track when profiles are last used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't send notifications for active-time updates; nobody wants it and some tests aren't prepared fo… 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 | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_info_interface.h
diff --git a/chrome/browser/profiles/profile_info_interface.h b/chrome/browser/profiles/profile_info_interface.h
index 6114712d2c02473c06dad44692be2a01ac9aab0e..3cec13ab931ab06b082827d51a284af30e96ab0c 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -8,6 +8,10 @@
#include "base/files/file_path.h"
#include "base/strings/string16.h"
+namespace base {
+class Time;
+}
+
namespace gfx {
class Image;
}
@@ -22,6 +26,8 @@ class ProfileInfoInterface {
virtual size_t GetIndexOfProfileWithPath(
const base::FilePath& profile_path) const = 0;
+ virtual base::Time GetProfileActiveTimeAtIndex(size_t index) const = 0;
+
virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0;
virtual base::string16 GetShortcutNameOfProfileAtIndex(
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698