The chrome.extension module has utilities that can be used by any extension page.

Support for content scripts

Unlike the other chrome.* APIs, parts of chrome.extension can be used by content scripts:

connect() and onConnect
Communication with extension pages
getURL()
Access to extension resources such as image files

For details, see Content Scripts.