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

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: 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
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..e4475af789e942bf149f77849f459bc87dda499c 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 GetProfileActive(size_t index) const = 0;
+
virtual base::string16 GetNameOfProfileAtIndex(size_t index) const = 0;
virtual base::string16 GetShortcutNameOfProfileAtIndex(

Powered by Google App Engine
This is Rietveld 408576698