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 13866034: Pepper: Add VLOG support for NaCl plugins. (Closed)

Created:
7 years, 8 months ago by teravest
Modified:
7 years, 8 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Pepper: Add VLOG support for NaCl plugins. Previously, VLOG statements would never log anything to the console, since there was no way for state from the "v" and "vmodule" flags to be passed to the untrusted NaCl process. This change passes the values of the "v" and "vmodule" flags to the untrusted process as part of channel creation, and then re-initializes the logging subsystem to parse the new flag values. BUG=181607 R=dmichael Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195541

Patch Set 1 #

Total comments: 4

Patch Set 2 : small fixes #

Total comments: 1

Patch Set 3 : Change DCHECK to if. #

Total comments: 1

Patch Set 4 : Add comment for whitelisted flags location #

Patch Set 5 : Fix windows build #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -18 lines) Patch
M base/base.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M base/base_untrusted.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M base/logging.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 3 chunks +17 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_main_nacl.cc View 1 2 3 chunks +22 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 3 chunks +13 lines, -3 lines 0 comments Download
A ppapi/shared_impl/ppapi_nacl_channel_args.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A ppapi/shared_impl/ppapi_nacl_channel_args.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
teravest
I'll add reviewers for base/ and chrome/browser/nacl_host/ if we agree this approach makes sense.
7 years, 8 months ago (2013-04-10 18:37:27 UTC) #1
dmichael (off chromium)
https://codereview.chromium.org/13866034/diff/1/base/logging.cc File base/logging.cc (right): https://codereview.chromium.org/13866034/diff/1/base/logging.cc#newcode353 base/logging.cc:353: g_dcheck_state = dcheck_state; Is it worth checking that LoggingDestination ...
7 years, 8 months ago (2013-04-10 23:10:22 UTC) #2
teravest
On Wed, Apr 10, 2013 at 5:10 PM, <dmichael@chromium.org> wrote: > > https://codereview.chromium.org/13866034/diff/1/base/logging.cc > File ...
7 years, 8 months ago (2013-04-11 16:31:36 UTC) #3
teravest
On Wed, Apr 10, 2013 at 5:10 PM, <dmichael@chromium.org> wrote: > > https://codereview.chromium.org/13866034/diff/1/base/logging.cc > File ...
7 years, 8 months ago (2013-04-11 16:31:42 UTC) #4
dmichael (off chromium)
lgtm +bbudge, since he knows that part best, to make sure we're not doing anything ...
7 years, 8 months ago (2013-04-11 16:39:06 UTC) #5
dmichael (off chromium)
Also +brettw for base/ OWNERS
7 years, 8 months ago (2013-04-11 16:39:53 UTC) #6
bbudge
It's great that you're adding this - it would have been very helpful when we ...
7 years, 8 months ago (2013-04-11 17:14:45 UTC) #7
dmichael (off chromium)
On Thu, Apr 11, 2013 at 11:14 AM, <bbudge@chromium.org> wrote: > It's great that you're ...
7 years, 8 months ago (2013-04-11 17:30:22 UTC) #8
dmichael (off chromium)
On Thu, Apr 11, 2013 at 11:14 AM, <bbudge@chromium.org> wrote: > It's great that you're ...
7 years, 8 months ago (2013-04-11 17:30:23 UTC) #9
bbudge
It *is* hard to imagine that 'permissions' and 'off the record' could be per-channel, but ...
7 years, 8 months ago (2013-04-11 17:43:49 UTC) #10
bbudge
On 2013/04/11 17:43:49, bbudge1 wrote: > It *is* hard to imagine that 'permissions' and 'off ...
7 years, 8 months ago (2013-04-11 18:22:56 UTC) #11
brettw
lgtm https://codereview.chromium.org/13866034/diff/8001/ppapi/proxy/plugin_main_nacl.cc File ppapi/proxy/plugin_main_nacl.cc (right): https://codereview.chromium.org/13866034/diff/8001/ppapi/proxy/plugin_main_nacl.cc#newcode182 ppapi/proxy/plugin_main_nacl.cc:182: static bool create_channel_ran = false; I'd move this ...
7 years, 8 months ago (2013-04-11 22:42:09 UTC) #12
teravest
+jschuh for ppapi/proxy/ppapi_messages.h This change modifies PpapiMsg_CreateNaClChannel so that it also contains command line arguments ...
7 years, 8 months ago (2013-04-15 17:47:51 UTC) #13
teravest
-jschuh, +jln for ppapi/proxy/ppapi_messages.h This change modifies PpapiMsg_CreateNaClChannel so that it also contains command line ...
7 years, 8 months ago (2013-04-17 22:23:53 UTC) #14
jln (very slow on Chromium)
lgtm https://chromiumcodereview.appspot.com/13866034/diff/21001/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://chromiumcodereview.appspot.com/13866034/diff/21001/ppapi/proxy/ppapi_messages.h#newcode299 ppapi/proxy/ppapi_messages.h:299: IPC_STRUCT_TRAITS_MEMBER(switch_names) I like that you're having a whitelist ...
7 years, 8 months ago (2013-04-18 22:44:22 UTC) #15
teravest
On Thu, Apr 18, 2013 at 4:44 PM, <jln@chromium.org> wrote: > lgtm > > > ...
7 years, 8 months ago (2013-04-19 14:53:27 UTC) #16
teravest
On Thu, Apr 18, 2013 at 4:44 PM, <jln@chromium.org> wrote: > lgtm > > > ...
7 years, 8 months ago (2013-04-19 14:53:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/13866034/30001
7 years, 8 months ago (2013-04-19 19:43:45 UTC) #18
teravest
7 years, 8 months ago (2013-04-22 17:36:19 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 manually as r195541 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698