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

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

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
Index: chrome/test/base/testing_profile_manager.cc
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc
index 2ddcb990e4763359ffad4149ed4985b1f034e915..63295182710194961813fe246e05013f63ed4b3a 100644
--- a/chrome/test/base/testing_profile_manager.cc
+++ b/chrome/test/base/testing_profile_manager.cc
@@ -178,6 +178,12 @@ void TestingProfileManager::SetLoggedIn(bool logged_in) {
profile_manager_->logged_in_ = logged_in;
}
+void TestingProfileManager::UpdateLastUser(Profile* last_active) {
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+ profile_manager_->UpdateLastUser(last_active);
+#endif
+}
+
const base::FilePath& TestingProfileManager::profiles_dir() {
DCHECK(called_set_up_);
return profiles_dir_.path();
« no previous file with comments | « chrome/test/base/testing_profile_manager.h ('k') | components/signin/core/browser/signin_error_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698