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

Side by Side Diff: third_party/libaddressinput/chromium/addressinput_util.cc

Issue 1548233002: Switch to standard integer types in third_party/libaddressinput/chromium/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/libaddressinput/chromium/canonicalize_string.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "third_party/libaddressinput/chromium/addressinput_util.h" 5 #include "third_party/libaddressinput/chromium/addressinput_util.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #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"
12 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_me tadata.h" 14 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_me tadata.h"
13 15
14 namespace autofill { 16 namespace autofill {
15 namespace addressinput { 17 namespace addressinput {
16 18
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 if (address_to_check.IsFieldEmpty(field) && 68 if (address_to_check.IsFieldEmpty(field) &&
67 IsFieldRequired(field, address_to_check.region_code) && 69 IsFieldRequired(field, address_to_check.region_code) &&
68 !FilterExcludes(filter, field, MISSING_REQUIRED_FIELD)) { 70 !FilterExcludes(filter, field, MISSING_REQUIRED_FIELD)) {
69 problems->insert(std::make_pair(field, MISSING_REQUIRED_FIELD)); 71 problems->insert(std::make_pair(field, MISSING_REQUIRED_FIELD));
70 } 72 }
71 } 73 }
72 } 74 }
73 75
74 } // namespace addressinput 76 } // namespace addressinput
75 } // namespace autofill 77 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | third_party/libaddressinput/chromium/canonicalize_string.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698