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

Unified Diff: chrome/browser/password_manager/password_manager_infobar_delegate.cc

Issue 1467993002: Remove ManagePasswordsUIController::NavigateToSmartLockPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switching infobars to non-localised link, moving kPasswordManagerAccountDashboardURL to components Created 5 years, 1 month 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/password_manager/password_manager_infobar_delegate.cc
diff --git a/chrome/browser/password_manager/password_manager_infobar_delegate.cc b/chrome/browser/password_manager/password_manager_infobar_delegate.cc
index c19dabb8129b14f032057aeb9143feb328301aea..c7f608d68dcdd8298b829129b42cb5fe794b62dd 100644
--- a/chrome/browser/password_manager/password_manager_infobar_delegate.cc
+++ b/chrome/browser/password_manager/password_manager_infobar_delegate.cc
@@ -5,12 +5,10 @@
#include "chrome/browser/password_manager/password_manager_infobar_delegate.h"
#include "chrome/browser/infobars/infobar_service.h"
-#include "chrome/grit/chromium_strings.h"
-#include "chrome/grit/generated_resources.h"
#include "components/infobars/core/infobar.h"
+#include "components/password_manager/core/browser/password_manager_constants.h"
#include "content/public/browser/web_contents.h"
#include "grit/theme_resources.h"
-#include "ui/base/l10n/l10n_util.h"
PasswordManagerInfoBarDelegate::~PasswordManagerInfoBarDelegate() {}
@@ -41,7 +39,7 @@ base::string16 PasswordManagerInfoBarDelegate::GetMessageText() const {
}
GURL PasswordManagerInfoBarDelegate::GetLinkURL() const {
- return GURL(l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SMART_LOCK_PAGE));
+ return GURL(password_manager::kPasswordManagerAccountDashboardURL);
}
bool PasswordManagerInfoBarDelegate::LinkClicked(

Powered by Google App Engine
This is Rietveld 408576698