| OLD | NEW |
| 1 # Chromium coding style | 1 # Chromium coding style |
| 2 | 2 |
| 3 ## Main style guides | 3 ## Main style guides |
| 4 | 4 |
| 5 * [Chromium C++ style guide](c++/c++.md) | 5 * [Chromium C++ style guide](c++/c++.md) |
| 6 * [Chromium Objective-C style guide](objective-c/objective-c.md) | 6 * [Chromium Objective-C style guide](objective-c/objective-c.md) |
| 7 * [Java style guide for Android](java/java.md) | 7 * [Java style guide for Android](java/java.md) |
| 8 * [GN style guide](../tools/gn/docs/style_guide.md) for build files | 8 * [GN style guide](../tools/gn/docs/style_guide.md) for build files |
| 9 | 9 |
| 10 Chromium also uses these languages to a lesser degree: | 10 Chromium also uses these languages to a lesser degree: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 logic, especially use of interfaces or invariants (e.g., asserting that a | 36 logic, especially use of interfaces or invariants (e.g., asserting that a |
| 37 function is only called with dictionaries that contain a certain key). [See | 37 function is only called with dictionaries that contain a certain key). [See |
| 38 Using Assertions | 38 Using Assertions |
| 39 Effectively](https://wiki.python.org/moin/UsingAssertionsEffectively). | 39 Effectively](https://wiki.python.org/moin/UsingAssertionsEffectively). |
| 40 | 40 |
| 41 See also the [Chromium OS Python Style | 41 See also the [Chromium OS Python Style |
| 42 Guidelines](https://sites.google.com/a/chromium.org/dev/chromium-os/python-style
-guidelines). | 42 Guidelines](https://sites.google.com/a/chromium.org/dev/chromium-os/python-style
-guidelines). |
| 43 | 43 |
| 44 ## Web languages (JavaScript, HTML, CSS) | 44 ## Web languages (JavaScript, HTML, CSS) |
| 45 | 45 |
| 46 When working on Web-based UI features, consult the [Web Development Style Guide]
(https://sites.google.com/a/chromium.org/dev/developers/web-development-style-gu
ide) for the Chromium conventions used in JS/CSS/HTML files. | 46 When working on Web-based UI features, consult the [Web Development Style Guide]
(web/web.md) for the Chromium conventions used in JS/CSS/HTML files. |
| 47 | 47 |
| 48 Internal uses of web languages, notably "layout" tests, should preferably follow
these style guides, but it is not enforced. | 48 Internal uses of web languages, notably "layout" tests, should preferably follow
these style guides, but it is not enforced. |
| OLD | NEW |