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

Unified Diff: chrome/test/base/testing_profile_manager.h

Issue 813133003: New Profile metric for Auth Errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeSigninClient handles no ProfileManager for tests Created 5 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/signin/signin_global_error_unittest.cc ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile_manager.h
diff --git a/chrome/test/base/testing_profile_manager.h b/chrome/test/base/testing_profile_manager.h
index 8fcd7a29323c63952f85b295f9a31435acfbb4b7..52f357f22e3891019a625437a96d4172c4f7f167 100644
--- a/chrome/test/base/testing_profile_manager.h
+++ b/chrome/test/base/testing_profile_manager.h
@@ -84,6 +84,9 @@ class TestingProfileManager {
// Sets ProfileManager's logged_in state. This is only useful on ChromeOS.
void SetLoggedIn(bool logged_in);
+ // Sets the last used profile; also sets the active time to now.
+ void UpdateLastUser(Profile* last_active);
+
// Helper accessors.
const base::FilePath& profiles_dir();
ProfileManager* profile_manager();
« no previous file with comments | « chrome/browser/signin/signin_global_error_unittest.cc ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698