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

Unified Diff: chrome/browser/autofill/wallet/wallet_items.cc

Issue 12225095: Interactive autofill: Adds footnote view to accept legal documents in the UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky@ review Created 7 years, 10 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/autofill/wallet/wallet_items.cc
diff --git a/chrome/browser/autofill/wallet/wallet_items.cc b/chrome/browser/autofill/wallet/wallet_items.cc
index 89cea15dbc24ddb61f6ed1f417ee7945ebe1cc0e..e32cde142e75540fd85d623d24c67fc2fbb5bd0a 100644
--- a/chrome/browser/autofill/wallet/wallet_items.cc
+++ b/chrome/browser/autofill/wallet/wallet_items.cc
@@ -53,6 +53,8 @@ wallet::WalletItems::MaskedInstrument::Status
namespace wallet {
+const char kPrivacyNoticeUrl[] = "https://wallet.google.com/files/privacy.html";
+
WalletItems::MaskedInstrument::MaskedInstrument(
const std::string& descriptive_name,
const WalletItems::MaskedInstrument::Type& type,
@@ -203,7 +205,7 @@ bool WalletItems::MaskedInstrument::operator!=(
}
WalletItems::LegalDocument::LegalDocument(const std::string& document_id,
- const std::string& display_name)
+ const string16& display_name)
: document_id_(document_id),
display_name_(display_name) {}
@@ -218,7 +220,7 @@ scoped_ptr<WalletItems::LegalDocument>
return scoped_ptr<LegalDocument>();
}
- std::string display_name;
+ string16 display_name;
if (!dictionary.GetString("display_name", &display_name)) {
DLOG(ERROR) << "Response from Google Wallet missing display name";
return scoped_ptr<LegalDocument>();
« no previous file with comments | « chrome/browser/autofill/wallet/wallet_items.h ('k') | chrome/browser/autofill/wallet/wallet_items_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698