Chromium Code Reviews| Index: chrome/browser/idle.h |
| diff --git a/chrome/browser/idle.h b/chrome/browser/idle.h |
| index 05b5066351400cdf28dcbb771294f9317c44953e..f573948a768c3adf4dbd63bc3c8b8f5dd06b88f7 100644 |
| --- a/chrome/browser/idle.h |
| +++ b/chrome/browser/idle.h |
| @@ -27,7 +27,8 @@ typedef base::Callback<void(IdleState)> IdleCallback; |
| // Calculate the Idle state and notify the callback. |
| void CalculateIdleState(unsigned int idle_threshold, IdleCallback notify); |
| -// Calculate the Idle state synchronously and return the state. |
| -IdleState CalculateIdleStateSync(unsigned int idle_threshold); |
| - |
| +// returns true if workstation is in locked state. It's a synchronous equivalent |
| +// of check if CalculateIdleState(0, ...) callback doesn't return |
|
tonibarzic
2011/09/10 00:37:40
Checks if Idle state is IDLE_STATE_LOCKED.
sidor
2011/09/10 02:18:28
Done.
|
| +// IDLE_STATE_LOCKED. |
| +bool IsWorkstationInLockedState(); |
|
tonibarzic
2011/09/10 00:37:40
I find this name to similar to IsWorkstationLocked
sidor
2011/09/10 02:18:28
Done.
|
| #endif // CHROME_BROWSER_IDLE_H_ |