Default Apps
Branded Chrome builds ship with default extensions that are installed for new users. The bar for a default-installed extension is quite high, since it gets automatically added for a billion or so users. However, if you have approval to add a new one, here's how.
Adding a new default extension
- Locate the extension in the Chrome Web Store
- Determine its extension ID (part of the URL)
- Add the ID to preinstalled_apps.cc (the file is named "apps" for historical reasons)
Test your changes with a branded build (is_chrome_branded = true). Start chrome with out/Debug/chrome --user-data-dir=/tmp/<somenewdir> to simulate the new user experience.
For an example, see the changelist that added Docs Offline as a default extension.