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

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: Headers cleanup 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)
noms (inactive) 2015/01/08 21:49:04 Do we care about it running on ChromeOS? If not, m
Mike Lerman 2015/01/09 02:15:04 This can and would run on ChromeOS.
+ profile_manager_->UpdateLastUser(last_active);
+#endif
+}
+
const base::FilePath& TestingProfileManager::profiles_dir() {
DCHECK(called_set_up_);
return profiles_dir_.path();

Powered by Google App Engine
This is Rietveld 408576698