Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/address_i18n.h" | 5 #include "components/autofill/core/browser/address_i18n.h" | 
| 6 | 6 | 
| 7 #include "base/bind.h" | 7 #include "base/bind.h" | 
| 8 #include "base/callback.h" | 8 #include "base/callback.h" | 
| 9 #include "base/logging.h" | |
| 
 
Ilya Sherman
2014/10/16 18:55:46
This is needed for NOTREACHED()
 
Sunil Ratnu
2014/10/17 02:46:00
Done.
 
 | |
| 10 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" | 
| 11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" | 
| 12 #include "components/autofill/core/browser/autofill_profile.h" | 11 #include "components/autofill/core/browser/autofill_profile.h" | 
| 13 #include "components/autofill/core/browser/autofill_type.h" | 12 #include "components/autofill/core/browser/autofill_type.h" | 
| 14 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da ta.h" | 13 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da ta.h" | 
| 15 | 14 | 
| 16 namespace autofill { | 15 namespace autofill { | 
| 17 namespace i18n { | 16 namespace i18n { | 
| 18 | 17 | 
| 19 namespace { | 18 namespace { | 
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 142 if (field) | 141 if (field) | 
| 143 *field = ::i18n::addressinput::RECIPIENT; | 142 *field = ::i18n::addressinput::RECIPIENT; | 
| 144 return true; | 143 return true; | 
| 145 default: | 144 default: | 
| 146 return false; | 145 return false; | 
| 147 } | 146 } | 
| 148 } | 147 } | 
| 149 | 148 | 
| 150 } // namespace i18n | 149 } // namespace i18n | 
| 151 } // namespace autofill | 150 } // namespace autofill | 
| OLD | NEW |