I'm currently working on a custom Chromium build and I'm trying to include a specific extension as a component extension. My goal is to make this extension non-removable by the user. I've already successfully built and run the Chromium project following the official guide, but I need some guidance on how to proceed with adding my extension.
I've developed the extension myself, and it's not published on the Google Chrome Web Store. I understand that component extensions have more privileged API access and are loaded at startup, which aligns with what I need. However, the process of adding a new component extension seems to be complex and not straightforward.
Here are a few specific questions I have:
Where should I place the source code of my extension in the Chromium source tree?
Which parts of the Chromium source code do I need to modify in order to load my extension at startup?
How can I ensure that my extension is non-removable by the user? I want the user to be able to enable and disable the extension, but not remove it completely.
Are there any specific considerations or potential issues I should be aware of when adding my extension as a component extension?
I would greatly appreciate any guidance or resources that could help me with this process. Thank you for your time and assistance.
Best regards, Lior