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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_i18n_input.h

Issue 298863012: Use upstream libaddressinput in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review. Created 6 years, 6 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 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "chrome/browser/ui/autofill/autofill_dialog_common.h" 12 #include "chrome/browser/ui/autofill/autofill_dialog_common.h"
13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
14 #include "components/autofill/core/browser/autofill_type.h" 14 #include "components/autofill/core/browser/autofill_type.h"
15 #include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/addre ss_field.h" 15 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi eld.h"
16 16
17 namespace i18n { 17 namespace i18n {
18 namespace addressinput { 18 namespace addressinput {
19 struct AddressData; 19 struct AddressData;
20 } 20 }
21 } 21 }
22 22
23 namespace autofill { 23 namespace autofill {
24 24
25 class AutofillProfile; 25 class AutofillProfile;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Whether or not |country_code| has a fully supported address format. 64 // Whether or not |country_code| has a fully supported address format.
65 // TODO(dbeam): remove this when filling dependent locality is supported. 65 // TODO(dbeam): remove this when filling dependent locality is supported.
66 // http://crbug.com/340929 66 // http://crbug.com/340929
67 bool CountryIsFullySupported(const std::string& country_code); 67 bool CountryIsFullySupported(const std::string& country_code);
68 68
69 } // namespace i18ninput 69 } // namespace i18ninput
70 } // namespace autofill 70 } // namespace autofill
71 71
72 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_ 72 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_I18N_INPUT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698