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

Unified Diff: chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc

Issue 2163173004: Updates the list of signed-in profiles in user manager on ProfileAuthInfoChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/signin/signin_create_profile_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc b/chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc
index c4a0ec6336a3405ec8bb2cda9fb8fa6639a470d1..d6d5edb9201bab76d0383a65b1dfa2d1f50e1587 100644
--- a/chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc
+++ b/chrome/browser/ui/webui/signin/signin_create_profile_handler_unittest.cc
@@ -228,8 +228,8 @@ class SigninCreateProfileHandlerTest : public BrowserWithTestWindowTest {
}
void TearDown() override {
- profile_manager_.reset();
handler_.reset();
+ profile_manager_.reset();
BrowserWithTestWindowTest::TearDown();
}
@@ -305,10 +305,6 @@ TEST_F(SigninCreateProfileHandlerTest, ReturnSignedInProfiles) {
GetProfileAttributesWithPath(profile_2->GetPath(), &entry));
entry->SetAuthInfo(kTestGaiaId2, base::UTF8ToUTF16(kTestEmail2));
- // Request a list of signed in profiles.
- base::ListValue list_args;
- handler()->RequestSignedInProfiles(&list_args);
-
// Expect a JS callback with a list containing profile_2.
EXPECT_EQ(1U, web_ui()->call_data().size());
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_create_profile_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698