Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Issue 1863283002: Make mojo::Callback<>::Runnable::Run non-const. (Closed)

Created:
4 years, 8 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, haraken, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make mojo::Callback<>::Runnable::Run non-const. This method was made const so that mojo::Callback<>::Run() could be const but because of the indirection through RunnableHolder it doesn't actually need to be. This removes the need for classes implementing the Runnable interface to make some of their members mutable. BUG=None Committed: https://crrev.com/f8887e234a8a3e8b3fc4a2ee5e410ae1c79dbefa Cr-Commit-Position: refs/heads/master@{#385964}

Patch Set 1 : #

Patch Set 2 : Update FunctionPtrAdapter::Run. #

Patch Set 3 : Fix Mojo network service. #

Patch Set 4 : Fix Chrome OS build. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M chrome/browser/chromeos/arc/arc_policy_bridge_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/callback.h View 1 4 chunks +4 lines, -5 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 8 months ago (2016-04-06 23:35:14 UTC) #3
yzshen1
lgtm
4 years, 8 months ago (2016-04-06 23:49:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863283002/20001
4 years, 8 months ago (2016-04-07 00:34:52 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/155691) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-07 00:46:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863283002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863283002/40001
4 years, 8 months ago (2016-04-07 01:05:24 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/74995)
4 years, 8 months ago (2016-04-07 01:33:34 UTC) #13
Reilly Grant (use Gerrit)
Please review //mojo/services/network.
4 years, 8 months ago (2016-04-07 01:51:05 UTC) #15
Ken Rockot(use gerrit already)
you will also need to update chrome/browser/chromeos/arc/arc_policy_bridge_unittest.cc
4 years, 8 months ago (2016-04-07 01:55:09 UTC) #16
Reilly Grant (use Gerrit)
hidehiko@, please review changes to chrome/browser/chromeos/arc/arc_policy_bridge_unittest.cc.
4 years, 8 months ago (2016-04-07 05:36:38 UTC) #18
Ken Rockot(use gerrit already)
lgtm
4 years, 8 months ago (2016-04-07 22:05:25 UTC) #19
hidehiko
chrome/browser/chromeos/arc/arc_policy_bridge_unittest.cc lgtm
4 years, 8 months ago (2016-04-07 23:10:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863283002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863283002/80001
4 years, 8 months ago (2016-04-07 23:11:49 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166095)
4 years, 8 months ago (2016-04-07 23:20:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863283002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863283002/100001
4 years, 8 months ago (2016-04-07 23:31:17 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-08 03:08:23 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 03:10:25 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f8887e234a8a3e8b3fc4a2ee5e410ae1c79dbefa
Cr-Commit-Position: refs/heads/master@{#385964}

Powered by Google App Engine
This is Rietveld 408576698