diff options
author | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-15 17:54:02 +0000 |
---|---|---|
committer | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-15 17:54:02 +0000 |
commit | 93dd01d95619de7632ae75a921fd8e46e8db3916 (patch) | |
tree | dd18c2f392bd5034980a37e5dbdb58eb9c0edc55 /chrome/common/search_provider.h | |
parent | d1ba7778c90beb82c227f2504be633e6d625dc19 (diff) | |
download | chromium_src-93dd01d95619de7632ae75a921fd8e46e8db3916.zip chromium_src-93dd01d95619de7632ae75a921fd8e46e8db3916.tar.gz chromium_src-93dd01d95619de7632ae75a921fd8e46e8db3916.tar.bz2 |
Add the power interface extension API.
This CL adds the power interface extension API. The API is experimental and is accessible via the chrome.experimental.power.x interface.
The API proposal is available on the API proposals page at http://dev.chromium.org/developers/design-documents/extensions/proposed-changes/apis-under-development
The implementation of the API uses user preferences to store the keep_awake requests for a user. This makes the API specific to a user and persistent between logins. Currently we're leaving the preference unsync'able to keep them local to the machine the extension is installed on.
R=satorux@chromium.org,derat@chromium.org,aa@chromium.org
BUG=146939
TEST=Ran an extension to call requestKeepAwake and cancelKeepAwake to verify that the system power management changes accordingly.
Review URL: https://chromiumcodereview.appspot.com/10919270
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/search_provider.h')
0 files changed, 0 insertions, 0 deletions