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

Unified Diff: components/autofill/core/browser/credit_card.h

Issue 692233002: Use --no-output-all-resource-defines for grit on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: readd a couple last resource IDs Created 6 years, 1 month 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 | « build/ios/grit_whitelist.txt ('k') | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index 1651d3eab806f050a6276ce53a43546e316bbfae..c498af65cf43ad609ab27a10b4c508cd8eae5cca 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -31,8 +31,12 @@ class CreditCard : public AutofillDataModel {
// The user-visible type of the card, e.g. 'Mastercard'.
static base::string16 TypeForDisplay(const std::string& type);
+// This method is not compiled on iOS because the resources are not used and
+// should not be shipped.
+#if !defined(OS_IOS)
// The ResourceBundle ID for the appropriate credit card image.
static int IconResourceId(const std::string& type);
+#endif // #if !defined(OS_IOS)
// Returns the internal representation of credit card type corresponding to
// the given |number|. The credit card type is determined purely according to
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698