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

Issue 2843353004: Enable use_once_callback on mojom GN rule by default (Closed)

Created:
3 years, 7 months ago by tzik
Modified:
3 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, shalamov, alex clarke (OOO till 29th), alokp+watch_chromium.org, asvitkine+watch_chromium.org, awdf+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, browser-components-watch_chromium.org, cc-bugs_chromium.org, chfremer+watch_chromium.org, chrome-grc-reviews_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gcasto+watchlist_chromium.org, gogerald+paymentswatch_chromium.org, jam, jochen+watch_chromium.org, mahmadi+paymentswatch_chromium.org, mathp+autofillwatch_chromium.org, Mikhail, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-notifications_chromium.org, mlamouri+watch-sensors_chromium.org, mlamouri+watch-screen-orientation_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, piman+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, riju_, rjkroege, rogerm+autofillwatch_chromium.org, rouslan+autofill_chromium.org, rouslan+payments_chromium.org, rsesek+watch_chromium.org, scheib+watch_chromium.org, sebsg+autofillwatch_chromium.org, sebsg+paymentswatch_chromium.org, timvolodine, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org, viettrungluu+watch_chromium.org, wanming.lin, xjz+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable use_once_callback on mojom GN rule by default This CL enables use_once_callback flag on the Mojo code generation by default, and disables the flag on affected rules, so that the new code starts using OnceCallback by default, and we can track rules to migrate easily. BUG=714018 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2843353004 Cr-Commit-Position: refs/heads/master@{#470858} Committed: https://chromium.googlesource.com/chromium/src/+/0639e21a33c73f3e316ce84a490b1d50ceaa024b

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : fix #

Patch Set 7 : rebase #

Patch Set 8 : +comment #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -42 lines) Patch
M ash/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M cc/ipc/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/engagement/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/usb_internals/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/media_router/mojo/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +9 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/content/common/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M components/chrome_cleaner/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/discardable_memory/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/filesystem/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/font_service/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M components/leveldb/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics/leak_detector/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M components/metrics/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/nacl/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/password_manager/content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/payments/mojom/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M components/safe_json/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/translate/content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M components/web_restrictions/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M device/bluetooth/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M device/gamepad/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M device/generic_sensor/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M device/geolocation/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M device/screen_orientation/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M device/sensors/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M device/usb/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M device/vr/BUILD.gn View 1 2 3 4 5 6 7 10 1 chunk +3 lines, -0 lines 0 comments Download
M device/wake_lock/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/common/api/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/ipc/common/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M headless/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/BUILD.gn View 1 2 3 4 5 6 7 10 1 chunk +3 lines, -0 lines 0 comments Download
M media/capture/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M media/mojo/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/common/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/mojom.gni View 1 2 3 4 5 6 7 8 10 2 chunks +2 lines, -2 lines 0 comments Download
M services/catalog/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/data_decoder/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/device/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/file/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/identity/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/preferences/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/service_manager/background/tests/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/service_manager/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/service_manager/tests/connect/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/service_manager/tests/lifecycle/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/service_manager/tests/shutdown/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M services/shape_detection/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/gpu/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/public/interfaces/display/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M services/ui/public/interfaces/ime/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M services/video_capture/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M skia/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -1 line 0 comments Download
M ui/display/mojo/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/devices/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/geometry/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/image/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/range/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/latency/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ui/message_center/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M url/mojo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 81 (61 generated)
tzik
PTAL
3 years, 7 months ago (2017-05-01 07:50:46 UTC) #37
dcheng
lgtm
3 years, 7 months ago (2017-05-01 10:03:22 UTC) #40
tzik
Adding owners. PTAL to: sky: //ash, //chrome, //ui danakj: //cc jochen: //components kinuko: //content, //third_party/WebKit/public ...
3 years, 7 months ago (2017-05-08 06:31:36 UTC) #49
kinuko
On 2017/05/08 06:31:36, tzik wrote: > Adding owners. PTAL to: > sky: //ash, //chrome, //ui ...
3 years, 7 months ago (2017-05-08 09:47:37 UTC) #52
Nico
skia/ lgtm (This adds 85 TODOs, maybe it's too early to flip the default?)
3 years, 7 months ago (2017-05-08 13:40:54 UTC) #53
Ken Rockot(use gerrit already)
LGTM - I think it's useful to have this work done up front in spite ...
3 years, 7 months ago (2017-05-08 15:17:34 UTC) #54
sky
LGTM
3 years, 7 months ago (2017-05-08 16:11:17 UTC) #55
xhwang
media/ LGTM
3 years, 7 months ago (2017-05-08 16:11:36 UTC) #56
yzshen1
On 2017/05/08 16:11:36, xhwang wrote: > media/ LGTM mojo/ LGTM
3 years, 7 months ago (2017-05-08 16:20:56 UTC) #57
Sami
headless/ lgtm (+alexclarke@ FYI)
3 years, 7 months ago (2017-05-08 17:15:05 UTC) #58
jochen (gone - plz use gerrit)
lgtm
3 years, 7 months ago (2017-05-09 16:19:06 UTC) #59
danakj
cc LGTM
3 years, 7 months ago (2017-05-09 22:42:50 UTC) #60
brettw
lgtm
3 years, 7 months ago (2017-05-09 22:50:04 UTC) #61
tzik
On 2017/05/08 13:40:54, Nico wrote: > skia/ lgtm > > (This adds 85 TODOs, maybe ...
3 years, 7 months ago (2017-05-10 10:48:15 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2843353004/180001
3 years, 7 months ago (2017-05-10 10:49:28 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/449948)
3 years, 7 months ago (2017-05-10 12:22:10 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2843353004/200001
3 years, 7 months ago (2017-05-10 13:24:21 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450012)
3 years, 7 months ago (2017-05-10 15:40:22 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2843353004/200001
3 years, 7 months ago (2017-05-11 03:22:06 UTC) #78
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 07:14:52 UTC) #81
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/0639e21a33c73f3e316ce84a490b...

Powered by Google App Engine
This is Rietveld 408576698