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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc

Issue 964563002: Replace SetAuthenticatedUsername with SetAuthenticatedAccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@priv
Patch Set: rebased Created 5 years, 8 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/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
index 25dae71103c82805c265360b25a5f269e5987004..14fe038204632bda41727a76119c75ee950779b6 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc
@@ -69,10 +69,11 @@ class BookmarkBubbleViewTest : public BrowserWithTestWindowTest {
void SetUpSigninManager(const std::string& username) {
if (username.empty())
return;
+
SigninManagerBase* signin_manager = static_cast<SigninManagerBase*>(
SigninManagerFactory::GetForProfile(profile()));
ASSERT_TRUE(signin_manager);
- signin_manager->SetAuthenticatedUsername(username);
+ signin_manager->SetAuthenticatedAccountInfo(username, username);
}
scoped_ptr<BookmarkBubbleView> bubble_;

Powered by Google App Engine
This is Rietveld 408576698