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

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

Issue 10913238: SPDY proxy authentication support. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/password_manager_delegate_impl.cc
diff --git a/chrome/browser/password_manager/password_manager_delegate_impl.cc b/chrome/browser/password_manager/password_manager_delegate_impl.cc
index 6360be4dd21e0fd1058a7a71b22aa46586687437..76b273890bf8e5e686f56b15d2e865b502784142 100644
--- a/chrome/browser/password_manager/password_manager_delegate_impl.cc
+++ b/chrome/browser/password_manager/password_manager_delegate_impl.cc
@@ -150,6 +150,12 @@ void PasswordManagerDelegateImpl::AddSavePasswordInfoBarIfPermitted(
}
#endif
+ // Don't show the password manager infobar if this form corresponds to
+ // SpdyProxy authentication, as indicated by the realm.
+ if (form_to_save->realm().find("/SpdyProxy") != std::string::npos) {
+ return;
+ }
+
tab_contents_->infobar_tab_helper()->AddInfoBar(
new SavePasswordInfoBarDelegate(
tab_contents_->infobar_tab_helper(), form_to_save));

Powered by Google App Engine
This is Rietveld 408576698