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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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/webui/ntp/new_tab_page_sync_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
index 32f3dbb663589bc5c78062d36cefc84f53c0befc..c9f3675273be4359c1623192f268fdd46c453ff7 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
@@ -131,7 +131,7 @@ void NewTabPageSyncHandler::HandleSyncLinkClicked(const base::ListValue* args) {
chrome::FindBrowserWithWebContents(web_ui()->GetWebContents());
if (!browser || browser->IsAttemptingToCloseBrowser())
return;
- chrome::ShowBrowserSignin(browser, signin::SOURCE_NTP_LINK);
+ chrome::ShowBrowserSignin(browser, signin_metrics::SOURCE_NTP_LINK);
if (sync_service_->HasSyncSetupCompleted()) {
base::string16 user = base::UTF8ToUTF16(SigninManagerFactory::GetForProfile(

Powered by Google App Engine
This is Rietveld 408576698