• tzik's avatar
    Migrate base::TaskRunner from Closure to OnceClosure · 6e42784f
    tzik authored
    After this CL, TaskRunner::PostTask and its family can take OnceClosure
    in addition to Closure.
    
    Most of the changes are mechanical replacement of Closure with OnceClosure
    on TaskRunner family. Others are:
     - Limit CriticalClosure from Closure to OnceClosure as no caller call
       the resulting callback more than once
     - Add several PostTaskAndReplyWithResult overloads for old Callback
       version, for compatibility. (in base/task_scheduler/post_task.h)
     - Update SequencedWorkerPool implementation for OnceClosure.
     - Update task handling code in app_state.mm for OnceClosure, which is
       needed to bring OnceClosure into a ObjC block.
    
    BUG=704027
    CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
    
    Review-Url: https://codereview.chromium.org/2637843002
    Cr-Commit-Position: refs/heads/master@{#462023}
    6e42784f
Name
Last commit
Last update
..
accelerated_widget_mac Loading commit data...
accessibility Loading commit data...
android Loading commit data...
app_list Loading commit data...
arc Loading commit data...
aura Loading commit data...
aura_extra Loading commit data...
base Loading commit data...
chromeos Loading commit data...
compositor Loading commit data...
content_accelerators Loading commit data...
display Loading commit data...
events Loading commit data...
file_manager Loading commit data...
gfx Loading commit data...
gl Loading commit data...
keyboard Loading commit data...
latency Loading commit data...
login Loading commit data...
message_center Loading commit data...
native_theme Loading commit data...
ozone Loading commit data...
platform_window Loading commit data...
resources Loading commit data...
shell_dialogs Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
surface Loading commit data...
touch_selection Loading commit data...
vector_icons Loading commit data...
views Loading commit data...
views_content_client Loading commit data...
web_dialogs Loading commit data...
webui Loading commit data...
wm Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...