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

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

Issue 399573002: [Password Generation] Trigger confirmation bubble when a password is saved (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Again Created 6 years, 5 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 ae73e68d70a7c1784d47797706fb13208350ac0b..13964d4bb3fcbb186ec50a4c7497522b82d179cc 100644
--- a/chrome/browser/password_manager/save_password_infobar_delegate.h
+++ b/chrome/browser/password_manager/save_password_infobar_delegate.h
@@ -32,9 +32,10 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
// "group_X" suffixes used in the histogram names for infobar usage reporting;
// if empty, the usage is not reported, otherwise the suffix is used to choose
// the right histogram.
- static void Create(content::WebContents* web_contents,
- password_manager::PasswordFormManager* form_to_save,
- const std::string& uma_histogram_suffix);
+ static void Create(
+ content::WebContents* web_contents,
+ scoped_ptr<password_manager::PasswordFormManager> form_to_save,
+ const std::string& uma_histogram_suffix);
virtual ~SavePasswordInfoBarDelegate();
@@ -45,7 +46,7 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
SavePasswordInfoBarDelegate(
- password_manager::PasswordFormManager* form_to_save,
+ scoped_ptr<password_manager::PasswordFormManager> form_to_save,
const std::string& uma_histogram_suffix);
// Returns a save password infobar that owns |delegate|.

Powered by Google App Engine
This is Rietveld 408576698