Update chrome.power example extension.
This renames some "level" variables to "state" to make it more clear that they don't directly map to the API's "level" enum. It also registers chrome.runtime.onStartup and chrome.windows.onCreated (to work around onStartup apparently not firing on Chrome OS) listeners and switches from localStorage to chrome.storage.local. BUG=none Review URL: https://chromiumcodereview.appspot.com/13493019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192992 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment