| OLD | NEW |
| 1 When updating src/net/base/effective_tld_names.dat: | 1 When updating src/net/base/registry_controlled_domains/effective_tld_names.dat: |
| 2 | 2 |
| 3 1. Obtain the new effective_tld_names.dat, probably by downloading | 3 1. Obtain the new effective_tld_names.dat, probably by downloading |
| 4 http://goo.gl/Ji2bB | 4 http://goo.gl/Ji2bB |
| 5 | 5 |
| 6 2. Remove whitespace from the ends of the lines. | 6 2. Remove whitespace from the ends of the lines. |
| 7 | 7 |
| 8 3. Add the Chromium note back in. | 8 3. Add the Chromium note back in. |
| 9 | 9 |
| 10 4. Build tld_cleanup.exe (the "(net)" > "tld_cleanup" project) | 10 4. Build tld_cleanup.exe (the "(net)" > "tld_cleanup" project) |
| 11 | 11 |
| 12 5. Run it (no arguments needed), typically from src/build/Release or | 12 5. Run it (no arguments needed), typically from src/build/Release or |
| 13 src/build/Debug. It will re-generate | 13 src/build/Debug. It will re-generate |
| 14 src/net/base/effective_tld_names.gperf. | 14 src/net/base/registry_controlled_domains/effective_tld_names.gperf. |
| 15 | 15 |
| 16 6. Run gperf on the new effective_tld_names.gperf: | 16 6. Run gperf on the new effective_tld_names.gperf: |
| 17 gperf -a -L "C++" -C -c -o -t -k '*' -NFindDomain -D -m 5 \ | 17 gperf -a -L "C++" -C -c -o -t -k '*' -NFindDomain -D -m 5 \ |
| 18 effective_tld_names.gperf > effective_tld_names.cc | 18 effective_tld_names.gperf > effective_tld_names.cc |
| 19 It will produce a new effective_tld_names.cc. | 19 It will produce a new effective_tld_names.cc. |
| 20 | 20 |
| 21 7. Check in the updated effective_tld_names.dat, effective_tld_names.gperf, | 21 7. Check in the updated effective_tld_names.dat, effective_tld_names.gperf, |
| 22 and effective_tld_names.cc together. | 22 and effective_tld_names.cc together. |
| OLD | NEW |