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

Side by Side Diff: chrome/browser/autofill/phone_field.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/autofill/phone_field.h" 5 #include "chrome/browser/autofill/phone_field.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/autofill/autofill_field.h" 12 #include "chrome/browser/autofill/autofill_field.h"
12 13
13 // static 14 // static
14 PhoneField* PhoneField::Parse(std::vector<AutoFillField*>::const_iterator* iter, 15 PhoneField* PhoneField::Parse(std::vector<AutoFillField*>::const_iterator* iter,
15 bool is_ecml) { 16 bool is_ecml) {
16 DCHECK(iter); 17 DCHECK(iter);
17 if (!iter) 18 if (!iter)
18 return NULL; 19 return NULL;
19 20
20 if (is_ecml) 21 if (is_ecml)
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 return ok; 126 return ok;
126 } 127 }
127 128
128 PhoneField::PhoneField() 129 PhoneField::PhoneField()
129 : phone_(NULL), 130 : phone_(NULL),
130 area_code_(NULL), 131 area_code_(NULL),
131 prefix_(NULL), 132 prefix_(NULL),
132 extension_(NULL) { 133 extension_(NULL) {
133 } 134 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/autofill/phone_field_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698