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

Issue 104673003: Pepper: Send dev/canary channel status to plugins. (Closed)

Created:
7 years ago by teravest
Modified:
7 years ago
Reviewers:
bbudge, teravest1, joi, Jói, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Pepper: Send dev/canary channel status to plugins. As part of supporting "dev channel" methods in Pepper APIs, the plugin needs to know whether or not it's running in a channel that supports those methods. This patch plumbs that information through LoadPlugin so it's available by the time get_interface<>() would ever be called. TBR=piman BUG=325403 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240398

Patch Set 1 #

Total comments: 1

Patch Set 2 : version check fix. #

Patch Set 3 : Fix for NaCl #

Total comments: 1

Patch Set 4 : Initialize supports_dev_channel #

Patch Set 5 : OVERRIDE build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -7 lines) Patch
M chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 chunks +17 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/plugin_service_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/plugin_service.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 5 chunks +11 lines, -1 line 0 comments Download
M ppapi/proxy/plugin_main_nacl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppapi_nacl_channel_args.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/ppapi_nacl_channel_args.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
teravest
7 years ago (2013-12-11 17:57:08 UTC) #1
bbudge
Are you planning to plumb this bit down into the untrusted NaCl plugin? https://codereview.chromium.org/104673003/diff/1/chrome/browser/chrome_content_browser_client.cc File ...
7 years ago (2013-12-11 18:32:18 UTC) #2
teravest
On Wed, Dec 11, 2013 at 11:32 AM, <bbudge@chromium.org> wrote: > Are you planning to ...
7 years ago (2013-12-11 20:17:45 UTC) #3
bbudge
On 2013/12/11 20:17:45, teravest wrote: > On Wed, Dec 11, 2013 at 11:32 AM, <mailto:bbudge@chromium.org> ...
7 years ago (2013-12-11 20:29:09 UTC) #4
teravest1
On Wed, Dec 11, 2013 at 1:29 PM, <bbudge@chromium.org> wrote: > On 2013/12/11 20:17:45, teravest ...
7 years ago (2013-12-11 20:32:38 UTC) #5
teravest1
Can you take another look? Thanks. On Wed, Dec 11, 2013 at 1:32 PM, Justin ...
7 years ago (2013-12-11 21:10:47 UTC) #6
bbudge
LGTM w/comments. https://codereview.chromium.org/104673003/diff/40001/ppapi/shared_impl/ppapi_nacl_channel_args.h File ppapi/shared_impl/ppapi_nacl_channel_args.h (right): https://codereview.chromium.org/104673003/diff/40001/ppapi/shared_impl/ppapi_nacl_channel_args.h#newcode22 ppapi/shared_impl/ppapi_nacl_channel_args.h:22: bool supports_dev_channel; This and 'off_the_record' don't seem ...
7 years ago (2013-12-11 21:20:36 UTC) #7
teravest
On Wed, Dec 11, 2013 at 2:20 PM, <bbudge@chromium.org> wrote: > LGTM w/comments. > > ...
7 years ago (2013-12-11 21:25:43 UTC) #8
teravest
+joi for content/public
7 years ago (2013-12-11 21:41:04 UTC) #9
teravest
+piman for content/ppapi_plugin
7 years ago (2013-12-11 21:41:35 UTC) #10
Jói
//content/public LGTM.
7 years ago (2013-12-12 11:03:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/104673003/20002
7 years ago (2013-12-12 15:28:49 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=200986
7 years ago (2013-12-12 15:50:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/104673003/70001
7 years ago (2013-12-12 15:54:24 UTC) #14
commit-bot: I haz the power
7 years ago (2013-12-12 20:42:10 UTC) #15
Message was sent while issue was closed.
Change committed as 240398

Powered by Google App Engine
This is Rietveld 408576698