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

Issue 140663003: Removed requirement for the renderer to know it's process ID (Closed)

Created:
6 years, 11 months ago by bajones
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Removed requirement for the renderer to know it's process ID Process ID is now patched into the latency info once it reaches the browser process BUG=333501 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246149

Patch Set 1 #

Patch Set 2 : Got snapshot API working on OSX again #

Patch Set 3 : Fixed Windows #

Total comments: 2

Patch Set 4 : Rebased and addressed feedback from jamesr@ #

Total comments: 4

Patch Set 5 : Addressing feedback from jbauman@ #

Total comments: 3

Patch Set 6 : Addressing feedback from jam@, fixed OSX compile bug. #

Patch Set 7 : Rebase after long weekend #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -39 lines) Patch
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 4 5 2 chunks +16 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 4 chunks +40 lines, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 4 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 4 chunks +0 lines, -11 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 2 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bajones
PTAL at the respective bits under your ownership. If it seems that I have missed ...
6 years, 11 months ago (2014-01-16 23:02:05 UTC) #1
jamesr
I think you should populate the entire component ID on the browser side, not just ...
6 years, 11 months ago (2014-01-16 23:07:21 UTC) #2
bajones
On 2014/01/16 23:07:21, jamesr wrote: > I think you should populate the entire component ID ...
6 years, 11 months ago (2014-01-16 23:44:33 UTC) #3
jamesr
cool! content/renderer/ lgtm
6 years, 11 months ago (2014-01-16 23:47:02 UTC) #4
jbauman
https://codereview.chromium.org/140663003/diff/160001/ui/events/latency_info.cc File ui/events/latency_info.cc (right): https://codereview.chromium.org/140663003/diff/160001/ui/events/latency_info.cc#newcode266 ui/events/latency_info.cc:266: latency_components.erase(eraseIter); how about "latency_components.erase(lc++);" instead? https://codereview.chromium.org/140663003/diff/160001/ui/events/latency_info.h File ui/events/latency_info.h (right): ...
6 years, 11 months ago (2014-01-17 00:02:28 UTC) #5
jbauman
6 years, 11 months ago (2014-01-17 00:02:31 UTC) #6
bajones
Thanks jbauman@! Addressed everything you mentioned.
6 years, 11 months ago (2014-01-17 00:20:25 UTC) #7
jbauman
lgtm with one nit. https://codereview.chromium.org/140663003/diff/240001/content/browser/renderer_host/render_widget_host_impl.h File content/browser/renderer_host/render_widget_host_impl.h (right): https://codereview.chromium.org/140663003/diff/240001/content/browser/renderer_host/render_widget_host_impl.h#newcode556 content/browser/renderer_host/render_widget_host_impl.h:556: void FixMissingLatencyInfoComponentIds(ui::LatencyInfo& latency_info); Technically, this ...
6 years, 11 months ago (2014-01-17 00:26:13 UTC) #8
jam
thanks a lot for the quick turnaround, just some minor comments https://codereview.chromium.org/140663003/diff/240001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): ...
6 years, 11 months ago (2014-01-17 01:27:26 UTC) #9
bajones
Thanks for the feedback! CL updated accordingly.
6 years, 11 months ago (2014-01-17 17:56:34 UTC) #10
jam
lgtm
6 years, 11 months ago (2014-01-17 21:59:50 UTC) #11
bajones
Thanks jam@! Can I get an owners review for view_messages.h, please? It'll be a fast ...
6 years, 11 months ago (2014-01-18 00:02:35 UTC) #12
Ken Russell (switch to Gerrit)
Thanks for cleaning this up. LGTM
6 years, 11 months ago (2014-01-18 00:30:46 UTC) #13
Cris Neckar
On 2014/01/18 00:30:46, Ken Russell wrote: > Thanks for cleaning this up. LGTM IPC changes ...
6 years, 11 months ago (2014-01-21 18:45:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/140663003/440001
6 years, 11 months ago (2014-01-21 19:53:12 UTC) #15
commit-bot: I haz the power
6 years, 11 months ago (2014-01-21 23:01:27 UTC) #16
Message was sent while issue was closed.
Change committed as 246149

Powered by Google App Engine
This is Rietveld 408576698