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

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

Issue 1134863002: [Smart Lock] Smart Lock branding in save password infobar available only for signed users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/save_password_infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f9783c2d21a7a1943f63da2cc73d8efd29fc78a5..6b4e2a4b28d142587757d513a03ab101b531fa16 100644
--- a/chrome/browser/password_manager/save_password_infobar_delegate.h
+++ b/chrome/browser/password_manager/save_password_infobar_delegate.h
@@ -62,7 +62,8 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
SavePasswordInfoBarDelegate(
scoped_ptr<password_manager::PasswordFormManager> form_to_save,
const std::string& uma_histogram_suffix,
- password_manager::CredentialSourceType source_type);
+ password_manager::CredentialSourceType source_type,
+ bool is_smartlock_branding_enabled);
private:
// The PasswordFormManager managing the form we're asking the user about,
@@ -84,6 +85,10 @@ class SavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
// Infobar appearance (title, buttons) depends on value of this parameter.
password_manager::CredentialSourceType source_type_;
+ // Title for the infobar: branded as a part of Google Smart Lock for signed
+ // users.
Mike West 2015/05/12 09:20:16 Aren't we going to use the "smart lock" terminolog
melandory 2015/05/12 09:43:07 Nope. We will use string "Do you want <ph name="PA
+ base::string16 title_;
+
DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBarDelegate);
};
« no previous file with comments | « no previous file | chrome/browser/password_manager/save_password_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698