summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/fax_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/fax_field.cc')
-rw-r--r--chrome/browser/autofill/fax_field.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/chrome/browser/autofill/fax_field.cc b/chrome/browser/autofill/fax_field.cc
deleted file mode 100644
index 7c948d1..0000000
--- a/chrome/browser/autofill/fax_field.cc
+++ /dev/null
@@ -1,32 +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.
-
-#include "chrome/browser/autofill/fax_field.h"
-
-#include "base/logging.h"
-#include "base/scoped_ptr.h"
-#include "base/utf_string_conversions.h"
-#include "chrome/browser/autofill/autofill_field.h"
-#include "grit/autofill_resources.h"
-#include "ui/base/l10n/l10n_util.h"
-
-// static
-FaxField* FaxField::Parse(std::vector<AutoFillField*>::const_iterator* iter) {
- DCHECK(iter);
-
- scoped_ptr<FaxField> fax_field(new FaxField);
- if (ParseText(iter,
- l10n_util::GetStringUTF16(IDS_AUTOFILL_FAX_RE),
- &fax_field->number_)) {
- return fax_field.release();
- }
-
- return NULL;
-}
-
-bool FaxField::GetFieldInfo(FieldTypeMap* field_type_map) const {
- return Add(field_type_map, number_, AutoFillType(PHONE_FAX_WHOLE_NUMBER));
-}
-
-FaxField::FaxField() : number_(NULL) {}