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

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

Issue 2579823003: Remove Finch support for PasswordBranding (Closed)
Patch Set: More succinct Created 4 years 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/generated_password_saved_infobar_delegate_android.h
diff --git a/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h b/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h
index 9c91298096691fa44475d76e7e435dccf774f8f0..3ce24e40802e6b65b6c8d616c4af5985cedd4700 100644
--- a/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h
+++ b/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h
@@ -18,7 +18,8 @@ class WebContents;
class GeneratedPasswordSavedInfoBarDelegateAndroid
: public infobars::InfoBarDelegate {
public:
- // Creates and shows the infobar. Implemented in the platform-specific file.
+ // Creates and shows the infobar. Implemented with
+ // GeneratedPasswordSavedInfoBar.
static void Create(content::WebContents* web_contents);
~GeneratedPasswordSavedInfoBarDelegateAndroid() override;
@@ -36,8 +37,7 @@ class GeneratedPasswordSavedInfoBarDelegateAndroid
void OnInlineLinkClicked();
private:
- explicit GeneratedPasswordSavedInfoBarDelegateAndroid(
- content::WebContents* web_contents);
+ GeneratedPasswordSavedInfoBarDelegateAndroid();
// infobars::InfoBarDelegate:
Type GetInfoBarType() const override;
@@ -53,11 +53,6 @@ class GeneratedPasswordSavedInfoBarDelegateAndroid
// The translated label of the button.
base::string16 button_label_;
- content::WebContents* web_contents_;
-
- // If smart lock branding should be used.
- bool smart_lock_branding_enabled_;
-
DISALLOW_COPY_AND_ASSIGN(GeneratedPasswordSavedInfoBarDelegateAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698