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

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

Issue 6597062: Fix icu header paths in autofill_country.cc (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Alphabetize headers Created 9 years, 9 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 | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/autofill_country.h" 5 #include "chrome/browser/autofill/autofill_country.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "third_party/icu/public/common/unicode/locid.h"
17 #include "third_party/icu/public/common/unicode/uloc.h"
18 #include "third_party/icu/public/i18n/unicode/coll.h"
19 #include "third_party/icu/public/i18n/unicode/ucol.h"
20 #include "ui/base/l10n/l10n_util_collator.h" 16 #include "ui/base/l10n/l10n_util_collator.h"
21 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 #include "unicode/coll.h"
19 #include "unicode/locid.h"
20 #include "unicode/ucol.h"
21 #include "unicode/uloc.h"
22 22
23 namespace { 23 namespace {
24 24
25 struct AutoFillCountryData { 25 struct AutoFillCountryData {
26 std::string country_code; 26 std::string country_code;
27 int postal_code_label_id; 27 int postal_code_label_id;
28 int state_label_id; 28 int state_label_id;
29 }; 29 };
30 30
31 // The maximum capacity needed to store a locale up to the country code. 31 // The maximum capacity needed to store a locale up to the country code.
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 453
454 AutoFillCountry::AutoFillCountry(const std::string& country_code, 454 AutoFillCountry::AutoFillCountry(const std::string& country_code,
455 const string16& name, 455 const string16& name,
456 const string16& postal_code_label, 456 const string16& postal_code_label,
457 const string16& state_label) 457 const string16& state_label)
458 : country_code_(country_code), 458 : country_code_(country_code),
459 name_(name), 459 name_(name),
460 postal_code_label_(postal_code_label), 460 postal_code_label_(postal_code_label),
461 state_label_(state_label) { 461 state_label_(state_label) {
462 } 462 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698