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

Issue 291443006: Move LatencyInfo ipc traits from content/common/ to ui/events/ipc/ (Closed)

Created:
6 years, 7 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, tdresser+watch_chromium.org, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, jdduke+watch_chromium.org, danakj+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

This CL moves the LatencyInfo's IPC traits from content/common/content_param_traits_macros.h to ui/events/ipc/latency_info_param_traits This way, code that wants to use LatencyInfo over IPC don't have to depend on content/common, but a rather smaller target events.gyp:events_ipc. Also adds latency_info_nacl.gyp for a nacl build that wants to use LatencyInfo over IPC. BUG=355719 TEST=no functional change. Chrome builds. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271987

Patch Set 1 #

Patch Set 2 : add missing latency_info.gyp #

Patch Set 3 : rebase #

Patch Set 4 : fix dependency issues #

Patch Set 5 : fix unittests dependency #

Patch Set 6 : test #

Patch Set 7 : use LATENCY_INFO_EXPORT #

Patch Set 8 : rebase #

Patch Set 9 : fix gn build #

Patch Set 10 : reworkd #

Patch Set 11 : rework #

Total comments: 4

Patch Set 12 : have a separate events_ipc.gyp #

Total comments: 6

Patch Set 13 : address comments #

Patch Set 14 : remove per-file ownership of ui/events/ipc/OWNERS #

Patch Set 15 : make sadrul the owner of gyp and BUILD.gn #

Patch Set 16 : make * the owner of gyp and BUILD.gn #

Patch Set 17 : rebase #

Patch Set 18 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -35 lines) Patch
M content/common/content_param_traits_macros.h View 3 chunks +0 lines, -15 lines 0 comments Download
M content/common/input_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
A ui/events/ipc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
A ui/events/ipc/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +14 lines, -0 lines 0 comments Download
A + ui/events/ipc/events_ipc.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -10 lines 0 comments Download
A ui/events/ipc/latency_info_param_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +30 lines, -0 lines 0 comments Download
A + ui/events/ipc/latency_info_param_traits.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -9 lines 0 comments Download
A ui/events/latency_info_nacl.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Yufeng Shen (Slow to review)
6 years, 7 months ago (2014-05-16 02:07:24 UTC) #1
sadrul
https://codereview.chromium.org/291443006/diff/170001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/291443006/diff/170001/ui/events/BUILD.gn#newcode17 ui/events/BUILD.gn:17: component("events_ipc") { Can this be in events/ipc/BUILD.gn? https://codereview.chromium.org/291443006/diff/170001/ui/events/events.gyp File ...
6 years, 7 months ago (2014-05-16 14:49:25 UTC) #2
sadrul
Also note that events/ipc/ should have an OWNERS file with noparent set, and have the ...
6 years, 7 months ago (2014-05-16 14:50:15 UTC) #3
Yufeng Shen (Slow to review)
https://codereview.chromium.org/291443006/diff/170001/ui/events/BUILD.gn File ui/events/BUILD.gn (right): https://codereview.chromium.org/291443006/diff/170001/ui/events/BUILD.gn#newcode17 ui/events/BUILD.gn:17: component("events_ipc") { On 2014/05/16 14:49:26, sadrul wrote: > Can ...
6 years, 7 months ago (2014-05-16 17:13:13 UTC) #4
Yufeng Shen (Slow to review)
On 2014/05/16 14:50:15, sadrul wrote: > Also note that events/ipc/ should have an OWNERS file ...
6 years, 7 months ago (2014-05-16 17:13:23 UTC) #5
sadrul
https://codereview.chromium.org/291443006/diff/190001/ui/events/ipc/events_ipc.gyp File ui/events/ipc/events_ipc.gyp (right): https://codereview.chromium.org/291443006/diff/190001/ui/events/ipc/events_ipc.gyp#newcode15 ui/events/ipc/events_ipc.gyp:15: '<(DEPTH)/ipc/ipc.gyp:ipc', does this need a dep on events?
6 years, 7 months ago (2014-05-20 17:18:31 UTC) #6
jln (very slow on Chromium)
This lgtm. I don't have an opinion on the move, but I'm also not a ...
6 years, 7 months ago (2014-05-20 17:45:10 UTC) #7
Tom Sepez
Messages LGTM, but do we really need another ipc/ sub-directory? There isn't going to be ...
6 years, 7 months ago (2014-05-20 18:22:50 UTC) #8
sadrul
I suggested on a separate ipc/ directory to better clarify the ownership and dependencies. LGTM ...
6 years, 7 months ago (2014-05-20 18:28:55 UTC) #9
Tom Sepez
On 2014/05/20 18:28:55, sadrul wrote: > I suggested on a separate ipc/ directory to better ...
6 years, 7 months ago (2014-05-20 18:31:09 UTC) #10
Yufeng Shen (Slow to review)
https://codereview.chromium.org/291443006/diff/190001/ui/events/ipc/events_ipc.gyp File ui/events/ipc/events_ipc.gyp (right): https://codereview.chromium.org/291443006/diff/190001/ui/events/ipc/events_ipc.gyp#newcode15 ui/events/ipc/events_ipc.gyp:15: '<(DEPTH)/ipc/ipc.gyp:ipc', On 2014/05/20 17:18:32, sadrul wrote: > does this ...
6 years, 7 months ago (2014-05-20 18:32:33 UTC) #11
Tom Sepez
LGTM on OWNERS changes.
6 years, 7 months ago (2014-05-20 18:50:29 UTC) #12
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 7 months ago (2014-05-20 18:56:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/291443006/270001
6 years, 7 months ago (2014-05-20 18:57:54 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 19:39:17 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 19:43:34 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68724) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/29066) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-20 19:43:34 UTC) #17
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 7 months ago (2014-05-20 20:18:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/291443006/290001
6 years, 7 months ago (2014-05-20 20:20:48 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 21:03:18 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 21:05:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/5946)
6 years, 7 months ago (2014-05-20 21:05:03 UTC) #22
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 7 months ago (2014-05-20 21:38:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/291443006/310001
6 years, 7 months ago (2014-05-20 21:39:12 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 07:27:07 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 20:04:52 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/155551)
6 years, 7 months ago (2014-05-21 20:04:53 UTC) #27
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 7 months ago (2014-05-21 20:09:14 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/291443006/310001
6 years, 7 months ago (2014-05-21 20:11:44 UTC) #29
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 22:25:58 UTC) #30
Message was sent while issue was closed.
Change committed as 271987

Powered by Google App Engine
This is Rietveld 408576698