|
Replace for loops with |arraysize| with for each loops
This change replaces for-loops involving a loop variable and the
|arraysize| macro with a C++11 for-each-loop where appropriate.
A few usages of |arraysize| in a for-loop remain, in these the loop
variable is used as well. This can be simply logging the iteration
number or indexing another array of the same size.
BUG= 655950
Committed: https://crrev.com/54e466c9fd2ff04136f8f305615910e8f9085642
Cr-Commit-Position: refs/heads/master@{#425651}
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+183 lines, -213 lines) |
Patch |
 |
M |
components/autofill/content/renderer/form_cache.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/address_i18n_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/address_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_data_util.cc
|
View
|
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_ie_toolbar_import_win.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_manager_unittest.cc
|
View
|
|
4 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_merge_unittest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_profile.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/contact_info_unittest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card_unittest.cc
|
View
|
1
|
6 chunks |
+39 lines, -46 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/phone_field_unittest.cc
|
View
|
1
|
6 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/phone_number_i18n_unittest.cc
|
View
|
|
1 chunk |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/state_names.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/ui/card_unmask_prompt_controller_impl_unittest.cc
|
View
|
|
3 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/validation_unittest.cc
|
View
|
1
|
2 chunks |
+20 lines, -25 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/webdata/autofill_table_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/autofill_regexes_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/autofill_util_unittest.cc
|
View
|
|
3 chunks |
+22 lines, -23 lines |
0 comments
|
Download
|
Total messages: 17 (8 generated)
|