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

Issue 16271005: Implement pepper interface and plumbing for HRD's UI on ChromeOS (Closed)

Created:
7 years, 6 months ago by dcaiafa
Modified:
7 years, 6 months ago
CC:
chromium-reviews, piman+watch_chromium.org, raymes+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org, Wez
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement pepper interface and plumbing for HRD's UI on ChromeOS This change extends the PPB_Talk_Private interface (introduces version 2.0) and adds methods to show various security related UI to support Hangouts Remote Desktop on ChromeOS. BUG=237847 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204889

Patch Set 1 #

Total comments: 10

Patch Set 2 : Consolidated permission apis #

Patch Set 3 : Fixed minor typo. #

Total comments: 10

Patch Set 4 : Implemented requested changes. #

Total comments: 16

Patch Set 5 : Made Start/StopRemoting asynchronous. #

Total comments: 9

Patch Set 6 : Minor feedback related changes. #

Total comments: 5

Patch Set 7 : Use bounds checked macros for IPC enums #

Patch Set 8 : Don't use IPC::Message::Schema::Read in unittest - build break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+662 lines, -57 lines) Patch
M chrome/browser/renderer_host/pepper/pepper_talk_host.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_talk_host.cc View 1 2 3 4 5 6 3 chunks +33 lines, -4 lines 0 comments Download
M ppapi/api/private/ppb_talk_private.idl View 1 2 3 4 5 6 2 chunks +110 lines, -3 lines 0 comments Download
M ppapi/c/private/ppb_talk_private.h View 1 2 3 4 5 6 2 chunks +110 lines, -9 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 5 chunks +39 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 4 chunks +16 lines, -12 lines 0 comments Download
M ppapi/proxy/talk_resource.h View 1 2 3 4 1 chunk +24 lines, -5 lines 0 comments Download
M ppapi/proxy/talk_resource.cc View 1 2 3 4 5 2 chunks +80 lines, -11 lines 0 comments Download
A ppapi/proxy/talk_resource_unittest.cc View 1 2 3 4 5 6 7 1 chunk +173 lines, -0 lines 0 comments Download
M ppapi/tests/test_talk_private.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/tests/test_talk_private.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_talk_private_api.h View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_talk_private_thunk.cc View 1 2 3 4 1 chunk +46 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
dcaiafa
7 years, 6 months ago (2013-05-31 21:32:54 UTC) #1
Josh Horwich
Some thoughts on an alternate approach to avoid having so many APIs / IPCs inline. ...
7 years, 6 months ago (2013-05-31 22:22:16 UTC) #2
dcaiafa
PTAL. Thanks! https://codereview.chromium.org/16271005/diff/1/ppapi/api/private/ppb_talk_private.idl File ppapi/api/private/ppb_talk_private.idl (right): https://codereview.chromium.org/16271005/diff/1/ppapi/api/private/ppb_talk_private.idl#newcode62 ppapi/api/private/ppb_talk_private.idl:62: * Same parameters and behaviors as <code>GetPermission()</code>. ...
7 years, 6 months ago (2013-06-04 00:11:44 UTC) #3
Josh Horwich
https://codereview.chromium.org/16271005/diff/11002/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/11002/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode83 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:83: return PP_ERROR_FAILED; Curious - we used to return 0 ...
7 years, 6 months ago (2013-06-04 19:48:37 UTC) #4
dcaiafa
Ptal https://codereview.chromium.org/16271005/diff/11002/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/11002/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode83 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:83: return PP_ERROR_FAILED; I'm not an expert, but every ...
7 years, 6 months ago (2013-06-04 22:38:15 UTC) #5
Josh Horwich
lgtm https://codereview.chromium.org/16271005/diff/11002/ppapi/proxy/talk_resource_unittest.cc File ppapi/proxy/talk_resource_unittest.cc (right): https://codereview.chromium.org/16271005/diff/11002/ppapi/proxy/talk_resource_unittest.cc#newcode108 ppapi/proxy/talk_resource_unittest.cc:108: ASSERT_EQ(1, callback.result()); Ah, got it, thank you for ...
7 years, 6 months ago (2013-06-04 22:50:09 UTC) #6
dcaiafa
David, can you provide OWNER's approval (and feedback too, of course)
7 years, 6 months ago (2013-06-04 23:01:33 UTC) #7
dcaiafa
Adding Cris for IPC changes.
7 years, 6 months ago (2013-06-04 23:06:17 UTC) #8
dmichael (off chromium)
https://codereview.chromium.org/16271005/diff/22001/ppapi/api/private/ppb_talk_private.idl File ppapi/api/private/ppb_talk_private.idl (right): https://codereview.chromium.org/16271005/diff/22001/ppapi/api/private/ppb_talk_private.idl#newcode88 ppapi/api/private/ppb_talk_private.idl:88: * permission, or 0 if the user denied. 0 ...
7 years, 6 months ago (2013-06-05 02:11:11 UTC) #9
dcaiafa
https://codereview.chromium.org/16271005/diff/22001/ppapi/api/private/ppb_talk_private.idl File ppapi/api/private/ppb_talk_private.idl (right): https://codereview.chromium.org/16271005/diff/22001/ppapi/api/private/ppb_talk_private.idl#newcode88 ppapi/api/private/ppb_talk_private.idl:88: * permission, or 0 if the user denied. It ...
7 years, 6 months ago (2013-06-05 18:49:31 UTC) #10
dmichael (off chromium)
https://codereview.chromium.org/16271005/diff/22001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/22001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode81 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:81: OnRequestPermission) Is it intentional that you're not handling StartRemoting ...
7 years, 6 months ago (2013-06-05 21:02:13 UTC) #11
dcaiafa
PTAL. Thanks! https://codereview.chromium.org/16271005/diff/22001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/22001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode81 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:81: OnRequestPermission) On 2013/06/05 21:02:13, dmichael wrote: > ...
7 years, 6 months ago (2013-06-06 01:24:32 UTC) #12
dmichael (off chromium)
This is looking pretty close now, thanks! Just a couple of other things. https://codereview.chromium.org/16271005/diff/36001/ppapi/proxy/talk_resource.cc File ...
7 years, 6 months ago (2013-06-06 15:57:33 UTC) #13
dcaiafa
PTAL. Thanks again! https://codereview.chromium.org/16271005/diff/36001/ppapi/proxy/talk_resource.cc File ppapi/proxy/talk_resource.cc (right): https://codereview.chromium.org/16271005/diff/36001/ppapi/proxy/talk_resource.cc#newcode47 ppapi/proxy/talk_resource.cc:47: On 2013/06/06 15:57:33, dmichael wrote: > ...
7 years, 6 months ago (2013-06-06 16:45:12 UTC) #14
dmichael (off chromium)
lgtm https://codereview.chromium.org/16271005/diff/36001/ppapi/proxy/talk_resource.cc File ppapi/proxy/talk_resource.cc (right): https://codereview.chromium.org/16271005/diff/36001/ppapi/proxy/talk_resource.cc#newcode63 ppapi/proxy/talk_resource.cc:63: On 2013/06/06 16:45:12, dcaiafa wrote: > On 2013/06/06 ...
7 years, 6 months ago (2013-06-06 17:14:36 UTC) #15
Cris Neckar
https://codereview.chromium.org/16271005/diff/53001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/53001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode120 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:120: NOTIMPLEMENTED(); Please request another IPC audit once these are ...
7 years, 6 months ago (2013-06-06 17:44:08 UTC) #16
dcaiafa
PTAL. Thanks! https://codereview.chromium.org/16271005/diff/53001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/16271005/diff/53001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode120 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:120: NOTIMPLEMENTED(); On 2013/06/06 17:44:08, Cris Neckar wrote: ...
7 years, 6 months ago (2013-06-06 18:23:32 UTC) #17
Cris Neckar
IPC messages LGTM
7 years, 6 months ago (2013-06-06 18:47:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/16271005/67001
7 years, 6 months ago (2013-06-06 18:50:41 UTC) #19
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=7313
7 years, 6 months ago (2013-06-06 19:49:19 UTC) #20
dcaiafa
Adding Raymes for chrome/browser/renderer_host/pepper/... approval.
7 years, 6 months ago (2013-06-06 20:01:59 UTC) #21
raymes1
lgtm for chrome/browser/renderer_host/pepper/*
7 years, 6 months ago (2013-06-06 21:38:45 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/16271005/67001
7 years, 6 months ago (2013-06-06 21:44:39 UTC) #23
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=7404
7 years, 6 months ago (2013-06-06 22:48:47 UTC) #24
raymes
lgtm On Thu, Jun 6, 2013 at 1:01 PM, <dcaiafa@chromium.org> wrote: > Adding Raymes for ...
7 years, 6 months ago (2013-06-06 23:36:24 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/16271005/67001
7 years, 6 months ago (2013-06-06 23:39:41 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-07 00:36:38 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/16271005/97001
7 years, 6 months ago (2013-06-07 16:17:19 UTC) #28
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 19:02:13 UTC) #29
Message was sent while issue was closed.
Change committed as 204889

Powered by Google App Engine
This is Rietveld 408576698