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

Unified Diff: chrome/browser/password_manager/save_password_infobar_delegate.h

Issue 1045173003: Fix blacklisting for desktop infobars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/password_manager/save_password_infobar_delegate.h
diff --git a/chrome/browser/password_manager/save_password_infobar_delegate.h b/chrome/browser/password_manager/save_password_infobar_delegate.h
index 4dd0b4d0684bfc28cbef21d55f54bc27df12a138..f9783c2d21a7a1943f63da2cc73d8efd29fc78a5 100644
--- a/chrome/browser/password_manager/save_password_infobar_delegate.h
+++ b/chrome/browser/password_manager/save_password_infobar_delegate.h
@@ -57,12 +57,14 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
bool Accept() override;
bool Cancel() override;
- private:
+ protected:
+ // Makes a ctor available in tests.
SavePasswordInfoBarDelegate(
scoped_ptr<password_manager::PasswordFormManager> form_to_save,
const std::string& uma_histogram_suffix,
password_manager::CredentialSourceType source_type);
+ private:
// The PasswordFormManager managing the form we're asking the user about,
// and should update as per her decision.
scoped_ptr<password_manager::PasswordFormManager> form_to_save_;

Powered by Google App Engine
This is Rietveld 408576698