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

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

Issue 1997453003: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move changes in and out to fix compile Created 4 years, 7 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_android.h
diff --git a/chrome/browser/password_manager/save_password_infobar_delegate_android.h b/chrome/browser/password_manager/save_password_infobar_delegate_android.h
index e12ba0e65c48699fbd90f12a59e3c2c6ea37cce0..09a0fc9ad603c508a63b6070756e38b6a433a060 100644
--- a/chrome/browser/password_manager/save_password_infobar_delegate_android.h
+++ b/chrome/browser/password_manager/save_password_infobar_delegate_android.h
@@ -19,10 +19,6 @@ namespace content {
class WebContents;
}
-namespace password_manager {
-enum class CredentialSourceType;
-}
-
// After a successful *new* login attempt, we take the PasswordFormManager in
// provisional_save_manager_ and move it to a SavePasswordInfoBarDelegate while
// the user makes up their mind with the "save password" infobar. Note if the
@@ -69,10 +65,6 @@ class SavePasswordInfoBarDelegate : public PasswordManagerInfoBarDelegate {
// signal.
base::ElapsedTimer timer_;
- // Records source from where infobar was triggered.
- // Infobar appearance (message, buttons) depends on value of this parameter.
- password_manager::CredentialSourceType source_type_;
-
bool should_show_first_run_experience_;
content::WebContents* web_contents_;

Powered by Google App Engine
This is Rietveld 408576698