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

Side by Side Diff: chrome/browser/autofill/form_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
« no previous file with comments | « chrome/browser/autofill/fax_field_unittest.cc ('k') | chrome/browser/autofill/name_field.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/form_field.h" 5 #include "chrome/browser/autofill/form_field.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autofill/address_field.h" 9 #include "chrome/browser/autofill/address_field.h"
9 #include "chrome/browser/autofill/autofill_field.h" 10 #include "chrome/browser/autofill/autofill_field.h"
10 #include "chrome/browser/autofill/credit_card_field.h" 11 #include "chrome/browser/autofill/credit_card_field.h"
11 #include "chrome/browser/autofill/fax_field.h" 12 #include "chrome/browser/autofill/fax_field.h"
12 #include "chrome/browser/autofill/name_field.h" 13 #include "chrome/browser/autofill/name_field.h"
13 #include "chrome/browser/autofill/phone_field.h" 14 #include "chrome/browser/autofill/phone_field.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h" 15 #include "third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
16 17
17 // Field names from the ECML specification; see RFC 3106. We've 18 // Field names from the ECML specification; see RFC 3106. We've
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 if (base::strncasecmp(name.c_str(), form_fields[i].name_, 368 if (base::strncasecmp(name.c_str(), form_fields[i].name_,
368 form_fields[i].length_) == 0) { 369 form_fields[i].length_) == 0) {
369 return true; 370 return true;
370 } 371 }
371 } 372 }
372 } 373 }
373 } 374 }
374 375
375 return false; 376 return false;
376 } 377 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/fax_field_unittest.cc ('k') | chrome/browser/autofill/name_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698