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

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

Issue 13928035: WIP Component build of autofill Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make windows compiling Created 7 years, 8 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: components/autofill/browser/credit_card.h
diff --git a/components/autofill/browser/credit_card.h b/components/autofill/browser/credit_card.h
index d3c770d1e827a042f99341f44807988a7194a027..9372caf509a9fdad849c38819edd234a6fa9bfd5 100644
--- a/components/autofill/browser/credit_card.h
+++ b/components/autofill/browser/credit_card.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "base/compiler_specific.h"
#include "base/string16.h"
#include "components/autofill/browser/field_types.h"
#include "components/autofill/browser/form_group.h"
@@ -18,7 +19,7 @@ namespace autofill {
struct FormFieldData;
// A form group that stores credit card information.
-class CreditCard : public FormGroup {
+class AUTOFILL_EXPORT CreditCard : NON_EXPORTED_BASE(public FormGroup) {
public:
explicit CreditCard(const std::string& guid);
@@ -147,7 +148,8 @@ class CreditCard : public FormGroup {
};
// So we can compare CreditCards with EXPECT_EQ().
-std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
+AUTOFILL_EXPORT std::ostream& operator<<(std::ostream& os,
+ const CreditCard& credit_card);
// The string identifiers for credit card icon resources.
extern const char* const kAmericanExpressCard;

Powered by Google App Engine
This is Rietveld 408576698