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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler_unittest.cc

Issue 338993007: Track when and how a profile is signed out via UMA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SignOut() param in Android tests Created 6 years, 6 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/ui/webui/sync_setup_handler.cc ('k') | components/signin/core/browser/signin_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_setup_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
index dc7947271fe0d90224ae5fb42153da71cba3a0b3..8fc18c8bd37884f80e9316d8a11258eb7ef40a87 100644
--- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
@@ -405,7 +405,7 @@ TEST_F(SyncSetupHandlerFirstSigninTest, DisplayBasicLogin) {
.WillRepeatedly(Return(false));
// Ensure that the user is not signed in before calling |HandleStartSignin()|.
SigninManager* manager = static_cast<SigninManager*>(mock_signin_);
- manager->SignOut();
+ manager->SignOut(signin_metrics::SIGNOUT_TEST);
handler_->HandleStartSignin(NULL);
// Sync setup hands off control to the gaia login tab.
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler.cc ('k') | components/signin/core/browser/signin_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698