Prevent multiple pending UpdatePolicy tasks.
commitc106eb5cac46149507aca52278d5685c3d9f221d
authoralexclarke <alexclarke@chromium.org>
Fri, 13 Mar 2015 12:26:19 +0000 (13 05:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Mar 2015 12:26:41 +0000 (13 12:26 +0000)
tree499a1f6a21498ac6f7efe5cc35c0e9d2399595ab
parent18fcae1dee1acbddfa380415837a5b78480ae558
Prevent multiple pending UpdatePolicy tasks.

Allow only one pending delayed UpdatePolicy task, and seperatly
one pending non-delayed UpdatePolicy task.

BUG=465686

Review URL: https://codereview.chromium.org/994833003

Cr-Commit-Position: refs/heads/master@{#320488}
content/content_renderer.gypi
content/content_tests.gypi
content/renderer/scheduler/deadline_task_runner.cc [new file with mode: 0644]
content/renderer/scheduler/deadline_task_runner.h [new file with mode: 0644]
content/renderer/scheduler/deadline_task_runner_unittest.cc [new file with mode: 0644]
content/renderer/scheduler/renderer_scheduler_impl.cc
content/renderer/scheduler/renderer_scheduler_impl.h
content/renderer/scheduler/renderer_scheduler_impl_unittest.cc