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

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

Issue 6523032: Even more test cleanup. Some fixes to non-test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/billing_address.h
diff --git a/chrome/browser/autofill/billing_address.h b/chrome/browser/autofill/billing_address.h
deleted file mode 100644
index 4e9f7624d292972644fa5b4e2200397535e4b43c..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/billing_address.h
+++ /dev/null
@@ -1,54 +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_BILLING_ADDRESS_H_
-#define CHROME_BROWSER_AUTOFILL_BILLING_ADDRESS_H_
Elliot Glaysher 2011/02/15 21:16:41 Checked with David. This just was never GCed.
-#pragma once
-
-#include "chrome/browser/autofill/address.h"
-#include "chrome/browser/autofill/field_types.h"
-
-class FormGroup;
-
-// A specialization of Address that identifies itself as a billing address.
-class BillingAddress : public Address {
- public:
- BillingAddress() {}
- FormGroup* Clone() const { return new BillingAddress(*this); }
-
- protected:
- virtual AutoFillFieldType GetLine1Type() const {
- return ADDRESS_BILLING_LINE1;
- }
-
- virtual AutoFillFieldType GetLine2Type() const {
- return ADDRESS_BILLING_LINE2;
- }
-
- virtual AutoFillFieldType GetAptNumType() const {
- return ADDRESS_BILLING_APT_NUM;
- }
-
- virtual AutoFillFieldType GetCityType() const {
- return ADDRESS_BILLING_CITY;
- }
-
- virtual AutoFillFieldType GetStateType() const {
- return ADDRESS_BILLING_STATE;
- }
-
- virtual AutoFillFieldType GetZipCodeType() const {
- return ADDRESS_BILLING_ZIP;
- }
-
- virtual AutoFillFieldType GetCountryType() const {
- return ADDRESS_BILLING_COUNTRY;
- }
-
- private:
- explicit BillingAddress(const BillingAddress& address) : Address(address) {}
- void operator=(const BillingAddress& address); // Not implemented.
-};
-
-#endif // CHROME_BROWSER_AUTOFILL_BILLING_ADDRESS_H_

Powered by Google App Engine
This is Rietveld 408576698