diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 09:43:57 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 09:45:30 +0000 |
commit | 8c016b610caded6dea9354e88515025e6ad52ab9 (patch) | |
tree | fe19cc750f29f999b417f935d45abc0e6e65ff73 /components/session_manager.gypi | |
parent | eb7928a731f7f9a7282fcb503295d37e5a8ce1eb (diff) | |
download | chromium_src-8c016b610caded6dea9354e88515025e6ad52ab9.zip chromium_src-8c016b610caded6dea9354e88515025e6ad52ab9.tar.gz chromium_src-8c016b610caded6dea9354e88515025e6ad52ab9.tar.bz2 |
aw: Improve idle task scheduling
Three related changes:
* Only run idle tasks in the queue, not newly added ones.
* Move g_request_pending logic to SharedRendererState. This
allows pending tasks to be cancelled correctly.
* Wait for kModeProcess to happen first before trying to
request another to avoid a queue of pending tasks.
BUG=401712
Review URL: https://codereview.chromium.org/444173003
Cr-Commit-Position: refs/heads/master@{#288285}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/session_manager.gypi')
0 files changed, 0 insertions, 0 deletions