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

Side by Side Diff: components/autofill/core/browser/country_data.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/autofill/core/browser/country_data.h" 5 #include "components/autofill/core/browser/country_data.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "grit/components_strings.h" 10 #include "components/strings/grit/components_strings.h"
11 #include "third_party/icu/source/common/unicode/locid.h" 11 #include "third_party/icu/source/common/unicode/locid.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 namespace { 14 namespace {
15 15
16 struct StaticCountryData { 16 struct StaticCountryData {
17 char country_code[3]; 17 char country_code[3];
18 CountryData country_data; 18 CountryData country_data;
19 }; 19 };
20 20
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 CountryDataMap* CountryDataMap::GetInstance() { 818 CountryDataMap* CountryDataMap::GetInstance() {
819 return base::Singleton<CountryDataMap>::get(); 819 return base::Singleton<CountryDataMap>::get();
820 } 820 }
821 821
822 CountryDataMap::CountryDataMap() 822 CountryDataMap::CountryDataMap()
823 : country_data_(GetCountryData()), country_codes_(GetCountryCodes()) {} 823 : country_data_(GetCountryData()), country_codes_(GetCountryCodes()) {}
824 824
825 CountryDataMap::~CountryDataMap() = default; 825 CountryDataMap::~CountryDataMap() = default;
826 826
827 } // namespace autofill 827 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698