summaryrefslogtreecommitdiffstats
path: root/chrome/browser/idle_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the bug, that caused UI to hang after unsupported device was inserted.sidor@chromium.org2011-09-101-1/+5
| | | | | | | | | | | | In the idle.h new synchronous method was added - IsWorkstationInLockedState. BUG=chromium-os:20261 TEST=None Review URL: http://codereview.chromium.org/7864022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100582 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to fix the idle extension APIrkc@chromium.org2011-08-181-5/+8
| | | | | | | | | | | | | | | | | This change list reimplements the idle extension API to fix the following issues: . Query is now throttled only to 1 second . Calls to calculate the idle time are async (this is needed for chromium-os) . OnStateChanged now fires within a reasonable time of the machine going active (1 second) . Fixed a memory leak of the polling class This is just the Chrome change, there will be an additional CL to integrate the ChromiumOS code changes with the API once those are in. BUG=chromium-os:17167 TEST=Tested with the idle sample extension to confirm that idle query and idle state changed event work correctly. Review URL: http://codereview.chromium.org/7519008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97302 0039d316-1c4b-4281-b951-d872f2087c98
* win: Let CalculateIdleState() deal better with GetTickCount() wrapping around.thakis@chromium.org2011-05-211-5/+14
| | | | | | | | | BUG=83237 TEST=none Review URL: http://codereview.chromium.org/7038042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86226 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt four at landing the "histogram.h removed from message_loop.h" patch.erg@chromium.org2010-07-151-0/+3
| | | | | | | | | | | | | | Previously committed as r52349 and r52336. Related commits: r52367, r52364 and r52343. Rerunning trybots due to previous trybot breakage. TEST=none BUG=none Review URL: http://codereview.chromium.org/2965015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52496 0039d316-1c4b-4281-b951-d872f2087c98
* Idle API for the extension systembrg@chromium.com2010-03-161-0/+54
Tests=ExtensionApiTest.Idle Bug=one Review URL: http://codereview.chromium.org/845005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41661 0039d316-1c4b-4281-b951-d872f2087c98