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

Unified Diff: chrome/browser/autofill/autofill_address_model_mac.h

Issue 6621076: [Mac] Remove native/Cocoa preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase switch removal Created 9 years, 9 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 | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/autofill/autofill_address_model_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_address_model_mac.h
diff --git a/chrome/browser/autofill/autofill_address_model_mac.h b/chrome/browser/autofill/autofill_address_model_mac.h
deleted file mode 100644
index 59b4cbf2ffa7f7b6931b05cfbaf2deeb1c6491b3..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/autofill_address_model_mac.h
+++ /dev/null
@@ -1,59 +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_ADDRESS_MODEL_MAC_
-#define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_MODEL_MAC_
-#pragma once
-
-#import <Cocoa/Cocoa.h>
-
-class AutoFillProfile;
-
-// A "model" class used with bindings mechanism and the
-// |AutoFillAddressViewController| to achieve the form-like view
-// of autofill data in the Chrome options UI.
-// Model objects are initialized from a given profile using the designated
-// initializer |initWithProfile:|.
-// 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 AutoFillAddressModel : NSObject {
- @private
- // These are not scoped_nsobjects because we use them via KVO/bindings.
- NSString* fullName_;
- NSString* email_;
- NSString* companyName_;
- NSString* addressLine1_;
- NSString* addressLine2_;
- NSString* addressCity_;
- NSString* addressState_;
- NSString* addressZip_;
- NSString* addressCountry_;
- NSString* phoneWholeNumber_;
- NSString* faxWholeNumber_;
-}
-
-@property(nonatomic, copy) NSString* fullName;
-@property(nonatomic, copy) NSString* email;
-@property(nonatomic, copy) NSString* companyName;
-@property(nonatomic, copy) NSString* addressLine1;
-@property(nonatomic, copy) NSString* addressLine2;
-@property(nonatomic, copy) NSString* addressCity;
-@property(nonatomic, copy) NSString* addressState;
-@property(nonatomic, copy) NSString* addressZip;
-@property(nonatomic, copy) NSString* addressCountry;
-@property(nonatomic, copy) NSString* phoneWholeNumber;
-@property(nonatomic, copy) NSString* faxWholeNumber;
-
-// The designated initializer. Initializes the property strings to values
-// retrieved from the |profile|.
-- (id)initWithProfile:(const AutoFillProfile&)profile;
-
-// This method copies internal NSString property values into the
-// |profile| object's fields as appropriate. |profile| should never be NULL.
-- (void)copyModelToProfile:(AutoFillProfile*)profile;
-
-@end
-
-#endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_MODEL_MAC_
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/autofill/autofill_address_model_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698