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

Side by Side Diff: chrome/browser/autofill/select_control_handler.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/select_control_handler.h" 5 #include "chrome/browser/autofill/select_control_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/autofill/form_group.h" 14 #include "chrome/browser/autofill/form_group.h"
14 #include "webkit/glue/form_field.h" 15 #include "webkit/glue/form_field.h"
15 16
16 namespace { 17 namespace {
17 18
18 // TODO(jhawkins): Add more states/provinces. See http://crbug.com/45039. 19 // TODO(jhawkins): Add more states/provinces. See http://crbug.com/45039.
19 20
20 class State { 21 class State {
21 public: 22 public:
22 const char* name; 23 const char* name;
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 type.field_type() == ADDRESS_BILLING_COUNTRY) { 511 type.field_type() == ADDRESS_BILLING_COUNTRY) {
511 FillCountrySelectControl(field_text, field); 512 FillCountrySelectControl(field_text, field);
512 } else if (type.field_type() == CREDIT_CARD_EXP_MONTH) { 513 } else if (type.field_type() == CREDIT_CARD_EXP_MONTH) {
513 FillExpirationMonthSelectControl(field_text, field); 514 FillExpirationMonthSelectControl(field_text, field);
514 } 515 }
515 516
516 return; 517 return;
517 } 518 }
518 519
519 } // namespace autofill 520 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/phone_number_unittest.cc ('k') | chrome/browser/back_forward_menu_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698