| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| index e97cbfd333bd921b47d5c5f512d76d67ad1c4249..557b88fb1a146c55c98a973a305a9fec92f47a17 100644
|
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| @@ -588,6 +588,8 @@ SavePasswordBubbleModel::SavePasswordBubbleModel(Delegate* delegate,
|
| SetTitle();
|
| }
|
|
|
| +SavePasswordBubbleModel::~SavePasswordBubbleModel() {}
|
| +
|
| void SavePasswordBubbleModel::SetTitle() {
|
| int title_id = 0;
|
| // If the save password icon was accessed, the icon is displayed and the
|
| @@ -601,13 +603,13 @@ void SavePasswordBubbleModel::SetTitle() {
|
| void SavePasswordBubbleModel::OnCancelClicked() {
|
| TabSpecificContentSettings* content_settings =
|
| TabSpecificContentSettings::FromWebContents(web_contents());
|
| - content_settings->PasswordFormBlacklisted();
|
| + content_settings->SetPasswordAction(PasswordFormManager::BLACKLIST);
|
| }
|
|
|
| void SavePasswordBubbleModel::OnSaveClicked() {
|
| TabSpecificContentSettings* content_settings =
|
| TabSpecificContentSettings::FromWebContents(web_contents());
|
| - content_settings->PasswordAccepted();
|
| + content_settings->SetPasswordAction(PasswordFormManager::SAVE);
|
| }
|
|
|
| // The model of the content settings bubble for media settings.
|
| @@ -621,7 +623,6 @@ class ContentSettingMediaStreamBubbleModel
|
| virtual ~ContentSettingMediaStreamBubbleModel();
|
|
|
| private:
|
| - // Sets the title of the bubble.
|
| void SetTitle();
|
| // Sets the data for the radio buttons of the bubble.
|
| void SetRadioGroup();
|
|
|