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

Issue 7599017: Framework to allow Chromoting host to respect NAT traversal policy in linux. (Closed)

Created:
9 years, 4 months ago by awong
Modified:
9 years, 4 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Framework to allow Chromoting host to respect NAT traversal policy in linux. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96859

Patch Set 1 #

Patch Set 2 : Actually read the filepaths, and make the directories. #

Patch Set 3 : All done! #

Patch Set 4 : rebased #

Patch Set 5 : silly compiler. #

Total comments: 14

Patch Set 6 : cleaned up threading. address dave's comments. #

Total comments: 4

Patch Set 7 : small tweaks #

Total comments: 2

Patch Set 8 : mac/win fix #

Patch Set 9 : 1-char comment typo #

Total comments: 30

Patch Set 10 : comments addressed #

Total comments: 5

Patch Set 11 : address wez's comments. #

Patch Set 12 : fix mac and win compile #

Patch Set 13 : rename name to nat_policy_mac.mm #

Patch Set 14 : change default #

Patch Set 15 : Merge with Sergey's MessageLoopProxy change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+596 lines, -8 lines) Patch
M remoting/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/plugin/host_script_object.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +27 lines, -1 line 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +71 lines, -6 lines 0 comments Download
A remoting/host/plugin/policy_hack/nat_policy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +49 lines, -0 lines 0 comments Download
A remoting/host/plugin/policy_hack/nat_policy_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +344 lines, -0 lines 0 comments Download
A remoting/host/plugin/policy_hack/nat_policy_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -0 lines 0 comments Download
A remoting/host/plugin/policy_hack/nat_policy_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -0 lines 0 comments Download
M remoting/jingle_glue/jingle_info_request.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -1 line 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
awong
Dave: please look at the policy_hack stuff wez: please look at the scriptable object stuff.
9 years, 4 months ago (2011-08-10 01:10:40 UTC) #1
dmac
Some basic comments... I can add more once you make decisions around some of the ...
9 years, 4 months ago (2011-08-10 21:39:00 UTC) #2
awong
okay, ready for another look. http://codereview.chromium.org/7599017/diff/12001/remoting/host/plugin/host_script_object.cc File remoting/host/plugin/host_script_object.cc (right): http://codereview.chromium.org/7599017/diff/12001/remoting/host/plugin/host_script_object.cc#newcode476 remoting/host/plugin/host_script_object.cc:476: // TODO(sergeyu): Use firewall ...
9 years, 4 months ago (2011-08-11 01:23:28 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/7599017/diff/16004/remoting/jingle_glue/jingle_info_request.cc File remoting/jingle_glue/jingle_info_request.cc (right): http://codereview.chromium.org/7599017/diff/16004/remoting/jingle_glue/jingle_info_request.cc#newcode71 remoting/jingle_glue/jingle_info_request.cc:71: // If there is no host_resolver_factory_, we're not sandboxes, ...
9 years, 4 months ago (2011-08-11 01:32:49 UTC) #4
awong
http://codereview.chromium.org/7599017/diff/16004/remoting/jingle_glue/jingle_info_request.cc File remoting/jingle_glue/jingle_info_request.cc (right): http://codereview.chromium.org/7599017/diff/16004/remoting/jingle_glue/jingle_info_request.cc#newcode71 remoting/jingle_glue/jingle_info_request.cc:71: // If there is no host_resolver_factory_, we're not sandboxes, ...
9 years, 4 months ago (2011-08-11 01:36:45 UTC) #5
Jamie
http://codereview.chromium.org/7599017/diff/20012/remoting/jingle_glue/jingle_info_request.cc File remoting/jingle_glue/jingle_info_request.cc (right): http://codereview.chromium.org/7599017/diff/20012/remoting/jingle_glue/jingle_info_request.cc#newcode71 remoting/jingle_glue/jingle_info_request.cc:71: // If there is no host_resolver_factory_, we're not sandboxes, ...
9 years, 4 months ago (2011-08-11 15:24:31 UTC) #6
dmac
Mostly comment nits http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc File remoting/host/plugin/host_script_object.cc (right): http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc#newcode87 remoting/host/plugin/host_script_object.cc:87: nat_traversal_enabled_(false), isn't nat_traversal_enabled by default? http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc#newcode539 ...
9 years, 4 months ago (2011-08-11 18:42:54 UTC) #7
awong
addressed comments. http://codereview.chromium.org/7599017/diff/20012/remoting/jingle_glue/jingle_info_request.cc File remoting/jingle_glue/jingle_info_request.cc (right): http://codereview.chromium.org/7599017/diff/20012/remoting/jingle_glue/jingle_info_request.cc#newcode71 remoting/jingle_glue/jingle_info_request.cc:71: // If there is no host_resolver_factory_, we're ...
9 years, 4 months ago (2011-08-11 19:04:07 UTC) #8
Wez
http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc File remoting/host/plugin/host_script_object.cc (right): http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc#newcode537 remoting/host/plugin/host_script_object.cc:537: // When transitioning from true to false, force a ...
9 years, 4 months ago (2011-08-11 20:00:27 UTC) #9
awong
PTAL http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc File remoting/host/plugin/host_script_object.cc (right): http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc#newcode537 remoting/host/plugin/host_script_object.cc:537: // When transitioning from true to false, force ...
9 years, 4 months ago (2011-08-11 23:54:53 UTC) #10
dmac
On 2011/08/11 23:54:53, awong wrote: > PTAL > > http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/host_script_object.cc > File remoting/host/plugin/host_script_object.cc (right): > ...
9 years, 4 months ago (2011-08-11 23:58:37 UTC) #11
Wez
http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/policy_hack/nat_policy_linux.cc File remoting/host/plugin/policy_hack/nat_policy_linux.cc (right): http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/policy_hack/nat_policy_linux.cc#newcode3 remoting/host/plugin/policy_hack/nat_policy_linux.cc:3: // found in the LICENSE file. On 2011/08/11 23:54:54, ...
9 years, 4 months ago (2011-08-12 00:54:41 UTC) #12
awong
PTAL http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/policy_hack/nat_policy_linux.cc File remoting/host/plugin/policy_hack/nat_policy_linux.cc (right): http://codereview.chromium.org/7599017/diff/21003/remoting/host/plugin/policy_hack/nat_policy_linux.cc#newcode3 remoting/host/plugin/policy_hack/nat_policy_linux.cc:3: // found in the LICENSE file. On 2011/08/12 ...
9 years, 4 months ago (2011-08-12 00:57:03 UTC) #13
Wez
LGTM!
9 years, 4 months ago (2011-08-12 00:58:59 UTC) #14
commit-bot: I haz the power
Commit queue patch verification failed without an error message. Something went wrong, probably a crash, ...
9 years, 4 months ago (2011-08-15 19:12:19 UTC) #15
M-A Ruel
9 years, 4 months ago (2011-08-15 20:33:22 UTC) #16
Found the bug, checked the commit bit again.

Powered by Google App Engine
This is Rietveld 408576698