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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 1304573004: Added UMA statistics for change passwords in the Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewers comments Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Called by the view code when the bubble is hidden. 45 // Called by the view code when the bubble is hidden.
46 void OnBubbleHidden(); 46 void OnBubbleHidden();
47 47
48 // Called by the view code when the "Never for this site." button in clicked 48 // Called by the view code when the "Never for this site." button in clicked
49 // by the user and user gets confirmation bubble. 49 // by the user and user gets confirmation bubble.
50 void OnConfirmationForNeverForThisSite(); 50 void OnConfirmationForNeverForThisSite();
51 51
52 // Called by the view code when the "Nope" button in clicked by the user. 52 // Called by the view code when the "Nope" button in clicked by the user.
53 void OnNopeClicked(); 53 void OnNopeClicked();
54 54
55 // Called by the view code when the "Nope" button in clicked by the user in
56 // update bubble.
57 void OnNopeUpdateClicked();
58
55 // Called by the view code when the "Never for this site." button in clicked 59 // Called by the view code when the "Never for this site." button in clicked
56 // by the user. 60 // by the user.
57 void OnNeverForThisSiteClicked(); 61 void OnNeverForThisSiteClicked();
58 62
59 // Called by the view code when the "Undo" button is clicked in 63 // Called by the view code when the "Undo" button is clicked in
60 // "Never for this site." confirmation bubble by the user. 64 // "Never for this site." confirmation bubble by the user.
61 void OnUndoNeverForThisSite(); 65 void OnUndoNeverForThisSite();
62 66
63 // Called by the view code when the site is unblacklisted. 67 // Called by the view code when the site is unblacklisted.
64 void OnUnblacklistClicked(); 68 void OnUnblacklistClicked();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 ScopedVector<const autofill::PasswordForm> local_credentials_; 179 ScopedVector<const autofill::PasswordForm> local_credentials_;
176 ScopedVector<const autofill::PasswordForm> federated_credentials_; 180 ScopedVector<const autofill::PasswordForm> federated_credentials_;
177 base::string16 manage_link_; 181 base::string16 manage_link_;
178 base::string16 save_confirmation_text_; 182 base::string16 save_confirmation_text_;
179 gfx::Range save_confirmation_link_range_; 183 gfx::Range save_confirmation_link_range_;
180 // If true upon destruction, the user has confirmed that she never wants to 184 // If true upon destruction, the user has confirmed that she never wants to
181 // save passwords for a particular site. 185 // save passwords for a particular site.
182 bool never_save_passwords_; 186 bool never_save_passwords_;
183 password_manager::metrics_util::UIDisplayDisposition display_disposition_; 187 password_manager::metrics_util::UIDisplayDisposition display_disposition_;
184 password_manager::metrics_util::UIDismissalReason dismissal_reason_; 188 password_manager::metrics_util::UIDismissalReason dismissal_reason_;
189 password_manager::metrics_util::UpdatePasswordSubmissionEvent
190 update_password_submission_event_;
185 191
186 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); 192 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel);
187 }; 193 };
188 194
189 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 195 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698