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

Issue 2376403003: Convert RapporRecorder to use mojo. (Closed)

Created:
4 years, 2 months ago by nigeltao1
Modified:
4 years, 1 month ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), tibell, Steven Holte
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert RapporRecorder to use mojo. Manually tested by printf'ing the arguments to RapporRecorderImpl methods and navigating a bunch of tabs. The args looked the same as for ChromeRenderMessageFilter prior to this CL. BUG=577685 Committed: https://crrev.com/2f67376dec4b104ccc55b95df8516e4d0640830f Cr-Commit-Position: refs/heads/master@{#425248}

Patch Set 1 #

Patch Set 2 : Convert RapporRecorder to use mojo. #

Patch Set 3 : Convert RapporRecorder to use mojo. #

Total comments: 2

Patch Set 4 : Convert RapporRecorder to use mojo. #

Total comments: 18

Patch Set 5 : Convert RapporRecorder to use mojo. #

Patch Set 6 : Convert RapporRecorder to use mojo. #

Total comments: 7

Patch Set 7 : Convert RapporRecorder to use mojo. #

Patch Set 8 : Convert RapporRecorder to use mojo. #

Patch Set 9 : Convert RapporRecorder to use mojo. #

Total comments: 3

Patch Set 10 : Convert RapporRecorder to use mojo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -35 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 chunks +0 lines, -20 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -2 lines 0 comments Download
M components/rappor/BUILD.gn View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
M components/rappor/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + components/rappor/public/interfaces/BUILD.gn View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A + components/rappor/public/interfaces/OWNERS View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A components/rappor/public/interfaces/rappor_recorder.mojom View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A components/rappor/rappor_recorder_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +41 lines, -0 lines 0 comments Download
A components/rappor/rappor_recorder_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (35 generated)
nigeltao1
4 years, 2 months ago (2016-09-30 05:39:10 UTC) #2
Sam McNally
lgtm https://codereview.chromium.org/2376403003/diff/40001/chrome/browser/rappor_recorder_impl.cc File chrome/browser/rappor_recorder_impl.cc (right): https://codereview.chromium.org/2376403003/diff/40001/chrome/browser/rappor_recorder_impl.cc#newcode26 chrome/browser/rappor_recorder_impl.cc:26: rappor::SampleString(g_browser_process->rappor_service(), metric, I think it's possible g_browser_process could ...
4 years, 2 months ago (2016-10-05 09:17:25 UTC) #15
nigeltao1
https://codereview.chromium.org/2376403003/diff/40001/chrome/browser/rappor_recorder_impl.cc File chrome/browser/rappor_recorder_impl.cc (right): https://codereview.chromium.org/2376403003/diff/40001/chrome/browser/rappor_recorder_impl.cc#newcode26 chrome/browser/rappor_recorder_impl.cc:26: rappor::SampleString(g_browser_process->rappor_service(), metric, On 2016/10/05 09:17:25, Sam McNally wrote: > ...
4 years, 2 months ago (2016-10-06 04:49:37 UTC) #16
nigeltao1
sky, nasko: this is my first Chromium CL in many years. I'm a noob to ...
4 years, 2 months ago (2016-10-06 04:56:43 UTC) #19
sky
https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_content_browser_manifest_overlay.json File chrome/browser/chrome_content_browser_manifest_overlay.json (right): https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_content_browser_manifest_overlay.json#newcode10 chrome/browser/chrome_content_browser_manifest_overlay.json:10: "mojom::RapporRecorder", I don't think we want a top-level namespace ...
4 years, 2 months ago (2016-10-06 17:28:44 UTC) #24
sky
Also, you'll need a security review for new mojom +tsepez And I see Sam made ...
4 years, 2 months ago (2016-10-06 17:32:02 UTC) #26
Tom Sepez
Mojom itself LGTM but do follow up on the issue sky raised.
4 years, 2 months ago (2016-10-06 18:29:57 UTC) #27
Sam McNally
On 2016/10/06 17:32:02, sky wrote: > Also, you'll need a security review for new mojom ...
4 years, 2 months ago (2016-10-06 23:07:03 UTC) #28
nigeltao1
https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_content_browser_manifest_overlay.json File chrome/browser/chrome_content_browser_manifest_overlay.json (right): https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_content_browser_manifest_overlay.json#newcode10 chrome/browser/chrome_content_browser_manifest_overlay.json:10: "mojom::RapporRecorder", On 2016/10/06 17:28:44, sky wrote: > I don't ...
4 years, 2 months ago (2016-10-07 03:30:52 UTC) #31
sky
LGTM - but see comments above separate build target. I'm randomly adding asvitkine as he ...
4 years, 2 months ago (2016-10-07 16:17:39 UTC) #37
Alexei Svitkine (slow)
https://codereview.chromium.org/2376403003/diff/100001/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (right): https://codereview.chromium.org/2376403003/diff/100001/chrome/renderer/chrome_content_renderer_client.h#newcode260 chrome/renderer/chrome_content_renderer_client.h:260: }; Nit: While you're here, add DISALLOW_COPY_AND_ASSIGN()? https://codereview.chromium.org/2376403003/diff/100001/components/rappor/recorder/BUILD.gn File ...
4 years, 2 months ago (2016-10-07 16:31:59 UTC) #38
nigeltao1
https://codereview.chromium.org/2376403003/diff/100001/chrome/renderer/chrome_content_renderer_client.h File chrome/renderer/chrome_content_renderer_client.h (right): https://codereview.chromium.org/2376403003/diff/100001/chrome/renderer/chrome_content_renderer_client.h#newcode260 chrome/renderer/chrome_content_renderer_client.h:260: }; On 2016/10/07 16:31:58, Alexei Svitkine (slow) wrote: > ...
4 years, 2 months ago (2016-10-11 23:44:55 UTC) #39
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2376403003/diff/160001/components/rappor/rappor_recorder_impl.cc File components/rappor/rappor_recorder_impl.cc (right): https://codereview.chromium.org/2376403003/diff/160001/components/rappor/rappor_recorder_impl.cc#newcode20 components/rappor/rappor_recorder_impl.cc:20: rappor::mojom::RapporRecorderRequest request) { Nit: Remove rappor:: prefix https://codereview.chromium.org/2376403003/diff/160001/components/rappor/rappor_recorder_impl.h ...
4 years, 2 months ago (2016-10-13 19:25:25 UTC) #44
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/2376403003/180001
4 years, 2 months ago (2016-10-14 02:10:07 UTC) #47
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 2 months ago (2016-10-14 03:28:12 UTC) #49
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/2f67376dec4b104ccc55b95df8516e4d0640830f Cr-Commit-Position: refs/heads/master@{#425248}
4 years, 2 months ago (2016-10-14 03:31:46 UTC) #51
nigeltao1
4 years, 1 month ago (2016-10-29 04:31:09 UTC) #52
Message was sent while issue was closed.
https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_c...
File chrome/browser/chrome_content_browser_manifest_overlay.json (right):

https://codereview.chromium.org/2376403003/diff/60001/chrome/browser/chrome_c...
chrome/browser/chrome_content_browser_manifest_overlay.json:10:
"mojom::RapporRecorder",
On 2016/10/07 16:17:38, sky wrote:
> On 2016/10/07 03:30:51, nigeltao1 wrote:
> > $ grep --no-filename ^module chrome/common/*.mojom
> > module mojom;
> > module mojom;
> > module mojom;
> > module mojom;
> > module mojom;
> 
> I discussed the namespace issue with Ken the other day before sending this out
> and he agreed a namespace should be used. So, I would assume these will change
> with time too.

OK, I sent out https://codereview.chromium.org/2465623002# to change one of
these from "module mojom" to "module chrome.mojom". If that goes well, I'll fix
the others as well.

Powered by Google App Engine
This is Rietveld 408576698