Index: chrome/browser/autofill/autofill_credit_card_model_mac.h |
diff --git a/chrome/browser/autofill/autofill_credit_card_model_mac.h b/chrome/browser/autofill/autofill_credit_card_model_mac.h |
deleted file mode 100644 |
index 53562a2dee8e5228ee25307897c0c234bdaf2618..0000000000000000000000000000000000000000 |
--- a/chrome/browser/autofill/autofill_credit_card_model_mac.h |
+++ /dev/null |
@@ -1,46 +0,0 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_MODEL_MAC_ |
-#define CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_MODEL_MAC_ |
-#pragma once |
- |
-#import <Cocoa/Cocoa.h> |
- |
-class CreditCard; |
- |
-// A "model" class used with bindings mechanism and the |
-// |AutoFillCreditCardViewController| to achieve the form-like view |
-// of autofill data in the Chrome options UI. |
-// Model objects are initialized from the given |creditCard| using the |
-// designated initializer |initWithCreditCard:|. |
-// Users of this class must be prepared to handle nil string return values. |
-// The KVO/bindings mechanisms expect this and deal with nil string values |
-// appropriately. |
-@interface AutoFillCreditCardModel : NSObject { |
- @private |
- // These are not scoped_nsobjects because we use them via KVO/bindings. |
- NSString* nameOnCard_; |
- NSString* creditCardNumber_; |
- NSString* expirationMonth_; |
- NSString* expirationYear_; |
-} |
- |
-@property(nonatomic, copy) NSString* nameOnCard; |
-@property(nonatomic, copy) NSString* creditCardNumber; |
-@property(nonatomic, copy) NSString* expirationMonth; |
-@property(nonatomic, copy) NSString* expirationYear; |
- |
-// Designated initializer. Initializes the property strings to values retrieved |
-// from the |creditCard| object. |
-- (id)initWithCreditCard:(const CreditCard&)creditCard; |
- |
-// This method copies internal NSString property values into the |
-// |creditCard| object's fields as appropriate. |creditCard| should never |
-// be NULL. |
-- (void)copyModelToCreditCard:(CreditCard*)creditCard; |
- |
-@end |
- |
-#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_MODEL_MAC_ |