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

Issue 118253005: Add managed policies for Native Messaging (Closed)

Created:
6 years, 12 months ago by Sergey Ulanov
Modified:
6 years, 11 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jar (doing other things), joaodasilva+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Add managed policies for Native Messaging This adds two new policies that will allow to block all or some native messaging hosts. BUG=237882 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243774

Patch Set 1 : #

Total comments: 44

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -10 lines) Patch
M chrome/browser/extensions/api/messaging/message_service.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_process_host.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_process_host.cc View 2 chunks +33 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h View 1 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc View 1 1 chunk +93 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc View 1 2 3 4 1 chunk +119 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +52 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 chunk +16 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 chunks +59 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Sergey Ulanov
kalman@, please review chrome/browser/extensions isherman@ - tools/metrics/histograms/histograms.xml dconnelly@ - everything else
6 years, 12 months ago (2013-12-28 03:39:01 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/native_message_process_host.cc File chrome/browser/extensions/api/messaging/native_message_process_host.cc (right): https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/native_message_process_host.cc#newcode59 chrome/browser/extensions/api/messaging/native_message_process_host.cc:59: if (!pref_service->IsManagedPreference(prefs::kNativeMessagingBlacklist)) what is the difference between this check ...
6 years, 12 months ago (2013-12-28 04:55:50 UTC) #2
Ilya Sherman
histograms.xml lgtm
6 years, 12 months ago (2013-12-29 01:50:17 UTC) #3
Joao da Silva
(Daniel is OOO, drive-by look at the policy bits) https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/message_service.cc File chrome/browser/extensions/api/messaging/message_service.cc (right): https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/message_service.cc#newcode67 chrome/browser/extensions/api/messaging/message_service.cc:67: ...
6 years, 11 months ago (2013-12-29 23:25:26 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/message_service.cc File chrome/browser/extensions/api/messaging/message_service.cc (right): https://codereview.chromium.org/118253005/diff/30001/chrome/browser/extensions/api/messaging/message_service.cc#newcode67 chrome/browser/extensions/api/messaging/message_service.cc:67: "Access to then native messaging host is prohibited by ...
6 years, 11 months ago (2014-01-06 23:21:54 UTC) #5
dconnelly
Thanks joao for the review. Sorry for not adding OOO to my username. lgtm
6 years, 11 months ago (2014-01-07 08:54:28 UTC) #6
not at google - send to devlin
lgtm
6 years, 11 months ago (2014-01-07 23:52:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/118253005/440001
6 years, 11 months ago (2014-01-07 23:57:39 UTC) #8
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=104909
6 years, 11 months ago (2014-01-08 01:05:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/118253005/730001
6 years, 11 months ago (2014-01-08 02:19:50 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242984
6 years, 11 months ago (2014-01-08 04:15:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/118253005/970001
6 years, 11 months ago (2014-01-08 19:48:35 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=189492
6 years, 11 months ago (2014-01-09 00:06:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/118253005/1280001
6 years, 11 months ago (2014-01-09 01:51:04 UTC) #14
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 04:48:32 UTC) #15
Message was sent while issue was closed.
Change committed as 243774

Powered by Google App Engine
This is Rietveld 408576698