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

Issue 2867223003: Send a message to the client if bad It2Me policies are read. (Closed)

Created:
3 years, 7 months ago by Jamie
Modified:
3 years, 7 months ago
Reviewers:
joedow
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Send a message to the client if bad It2Me policies are read. BUG=433009 Review-Url: https://codereview.chromium.org/2867223003 Cr-Commit-Position: refs/heads/master@{#470984} Committed: https://chromium.googlesource.com/chromium/src/+/c96bfeee5db953d0c7a5e2d636f2622323b61f4f

Patch Set 1 #

Total comments: 6

Patch Set 2 : Reviewer feedback. #

Patch Set 3 : Fix race condition. #

Total comments: 1

Patch Set 4 : Fix deadlock. #

Patch Set 5 : Fix TSAN tests. #

Patch Set 6 : Fix race. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -42 lines) Patch
M remoting/host/it2me/it2me_native_messaging_host.h View 1 2 3 4 5 4 chunks +10 lines, -0 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host.cc View 1 2 3 4 5 6 chunks +60 lines, -12 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host_unittest.cc View 1 2 3 4 5 11 chunks +91 lines, -13 lines 0 comments Download
M remoting/host/policy_watcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/policy_watcher.cc View 1 chunk +1 line, -5 lines 0 comments Download
M remoting/host/policy_watcher_unittest.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M remoting/resources/remoting_strings.grd View 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/error.js View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/crd/js/host_screen.js View 2 chunks +1 line, -10 lines 0 comments Download
M remoting/webapp/crd/js/host_session.js View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/it2me_host_facade.js View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (27 generated)
Jamie
ptal
3 years, 7 months ago (2017-05-08 23:19:41 UTC) #2
joedow
lgtm https://codereview.chromium.org/2867223003/diff/1/remoting/host/it2me/it2me_native_messaging_host.cc File remoting/host/it2me/it2me_native_messaging_host.cc (right): https://codereview.chromium.org/2867223003/diff/1/remoting/host/it2me/it2me_native_messaging_host.cc#newcode78 remoting/host/it2me/it2me_native_messaging_host.cc:78: DCHECK(!callback.is_null()); nit: DCHECK(callback); https://codereview.chromium.org/2867223003/diff/1/remoting/host/it2me/it2me_native_messaging_host.cc#newcode531 remoting/host/it2me/it2me_native_messaging_host.cc:531: nit: remove newline ...
3 years, 7 months ago (2017-05-09 18:09:48 UTC) #3
Jamie
FYI https://codereview.chromium.org/2867223003/diff/1/remoting/host/it2me/it2me_native_messaging_host.cc File remoting/host/it2me/it2me_native_messaging_host.cc (right): https://codereview.chromium.org/2867223003/diff/1/remoting/host/it2me/it2me_native_messaging_host.cc#newcode78 remoting/host/it2me/it2me_native_messaging_host.cc:78: DCHECK(!callback.is_null()); On 2017/05/09 18:09:47, joedow wrote: > nit: ...
3 years, 7 months ago (2017-05-09 18:19:33 UTC) #4
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/2867223003/20001
3 years, 7 months ago (2017-05-09 18:21:05 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/422092)
3 years, 7 months ago (2017-05-09 19:43:34 UTC) #9
Jamie
The race condition was due in part to the threading within It2MeNativeMessagingHost itself, so the ...
3 years, 7 months ago (2017-05-10 00:44:39 UTC) #10
joedow
https://codereview.chromium.org/2867223003/diff/40001/remoting/host/it2me/it2me_native_messaging_host_unittest.cc File remoting/host/it2me/it2me_native_messaging_host_unittest.cc (right): https://codereview.chromium.org/2867223003/diff/40001/remoting/host/it2me/it2me_native_messaging_host_unittest.cc#newcode314 remoting/host/it2me/it2me_native_messaging_host_unittest.cc:314: run_loop.QuitClosure())); I think this is fine, another option would ...
3 years, 7 months ago (2017-05-10 00:55:04 UTC) #16
Jamie
On 2017/05/10 00:55:04, joedow wrote: > https://codereview.chromium.org/2867223003/diff/40001/remoting/host/it2me/it2me_native_messaging_host_unittest.cc > File remoting/host/it2me/it2me_native_messaging_host_unittest.cc (right): > > https://codereview.chromium.org/2867223003/diff/40001/remoting/host/it2me/it2me_native_messaging_host_unittest.cc#newcode314 > ...
3 years, 7 months ago (2017-05-10 01:00:41 UTC) #17
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/2867223003/60001
3 years, 7 months ago (2017-05-10 18:35:11 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/71440)
3 years, 7 months ago (2017-05-10 20:37:23 UTC) #24
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/2867223003/80001
3 years, 7 months ago (2017-05-10 21:40:29 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/423391)
3 years, 7 months ago (2017-05-10 23:40:28 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/423391)
3 years, 7 months ago (2017-05-10 23:42:47 UTC) #31
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/2867223003/100001
3 years, 7 months ago (2017-05-10 23:51:34 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/93431) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_TIMED_OUT, ...
3 years, 7 months ago (2017-05-11 05:55:08 UTC) #36
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/2867223003/100001
3 years, 7 months ago (2017-05-11 16:25:53 UTC) #38
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 7 months ago (2017-05-11 16:34:26 UTC) #41
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/2867223003/100001
3 years, 7 months ago (2017-05-11 17:01:27 UTC) #43
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 17:11:18 UTC) #46
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c96bfeee5db953d0c7a5e2d636f2...

Powered by Google App Engine
This is Rietveld 408576698