Commit 46c3d9b8 authored by Matthias Körber's avatar Matthias Körber Committed by Commit Bot

Removed unused methods from manage_passwords_bubble_model.

Change-Id: I1628a5bdae79ae079a895a692fc2c188740c62ee
Bug: 875768
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824888
Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org>
Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Auto-Submit: Matthias Körber <koerber@google.com>
Cr-Commit-Position: refs/heads/master@{#700209}
parent 652e67b1
......@@ -211,11 +211,6 @@ ManagePasswordsBubbleModel::ManagePasswordsBubbleModel(
} else if (state_ == password_manager::ui::MANAGE_STATE) {
local_credentials_ = DeepCopyForms(delegate_->GetCurrentForms());
UpdateManageStateTitle();
// TODO(pbos): Remove manage_link_ + accessors when the cocoa dialog goes
// away. This temporarily uses the button label which is equivalent with
// the previous link.
manage_link_ =
l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_MANAGE_PASSWORDS_BUTTON);
}
if (state_ == password_manager::ui::CONFIRMATION_STATE) {
......
......@@ -100,7 +100,6 @@ class ManagePasswordsBubbleModel {
const std::vector<autofill::PasswordForm>& local_credentials() const {
return local_credentials_;
}
const base::string16& manage_link() const { return manage_link_; }
const base::string16& save_confirmation_text() const {
return save_confirmation_text_;
}
......@@ -166,7 +165,6 @@ class ManagePasswordsBubbleModel {
base::string16 title_;
autofill::PasswordForm pending_password_;
std::vector<autofill::PasswordForm> local_credentials_;
base::string16 manage_link_;
base::string16 save_confirmation_text_;
gfx::Range save_confirmation_link_range_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment