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

Issue 7812008: Remove static initializers in autofill_country.cc. (Closed)

Created:
9 years, 3 months ago by tony
Modified:
9 years, 3 months ago
CC:
chromium-reviews, GeorgeY, Ilya Sherman, dhollowa
Visibility:
Public.

Description

Remove static initializers in autofill_country.cc. BUG=None TEST=nm out/Debug/chrome | grep _GLOBAL__I doesn't list autofill_country.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98986

Patch Set 1 #

Patch Set 2 : better #

Total comments: 2

Patch Set 3 : even better! #

Patch Set 4 : move struct #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -250 lines) Patch
M chrome/browser/autofill/autofill_country.cc View 1 2 3 4 chunks +254 lines, -250 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tony
9 years, 3 months ago (2011-08-30 22:14:28 UTC) #1
Evan Martin
I wonder if it's worth trying to push this further -- like using StringPiece or ...
9 years, 3 months ago (2011-08-30 22:22:52 UTC) #2
Peter Kasting
On 2011/08/30 22:22:52, Evan Martin wrote: > I wonder if it's worth trying to push ...
9 years, 3 months ago (2011-08-30 22:23:56 UTC) #3
tony
Turns out we don't need the country code at all in the value part of ...
9 years, 3 months ago (2011-08-30 22:39:19 UTC) #4
Peter Kasting
http://codereview.chromium.org/7812008/diff/2003/chrome/browser/autofill/autofill_country.cc File chrome/browser/autofill/autofill_country.cc (right): http://codereview.chromium.org/7812008/diff/2003/chrome/browser/autofill/autofill_country.cc#newcode42 chrome/browser/autofill/autofill_country.cc:42: int postal_code_label_id; Nit: If we nested the structs: struct ...
9 years, 3 months ago (2011-08-30 22:55:52 UTC) #5
tony
http://codereview.chromium.org/7812008/diff/2003/chrome/browser/autofill/autofill_country.cc File chrome/browser/autofill/autofill_country.cc (right): http://codereview.chromium.org/7812008/diff/2003/chrome/browser/autofill/autofill_country.cc#newcode42 chrome/browser/autofill/autofill_country.cc:42: int postal_code_label_id; On 2011/08/30 22:55:52, Peter Kasting wrote: > ...
9 years, 3 months ago (2011-08-30 23:11:28 UTC) #6
Ilya Sherman
9 years, 3 months ago (2011-08-30 23:21:11 UTC) #7
LGTM.  Thanks for the fix!

Powered by Google App Engine
This is Rietveld 408576698