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

Issue 10855249: [Chromoting] The daemon process now starts the networking process and passes the host configuration… (Closed)

Created:
8 years, 4 months ago by alexeypa (please no reviews)
Modified:
8 years, 3 months ago
Reviewers:
Lambros, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] The daemon process now starts the networking process and passes the host configuration (and updates) over the IPC channel. This CL also switches to FilePathWatcher (to detect the configuration file changes) on all platforms. BUG=123696, 134694 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154999

Patch Set 1 #

Total comments: 63

Patch Set 2 : CR feedback and rebased on top of https://chromiumcodereview.appspot.com/10829467/ #

Total comments: 20

Patch Set 3 : CR feedback + rebased on top of https://chromiumcodereview.appspot.com/10829467/ (Patch Set 5) #

Total comments: 51

Patch Set 4 : CR feedback. #

Patch Set 5 : CR feedback and made ConfigFileWatcher compatible with scoped_ptr" #

Patch Set 6 : Restore sighup_listener.h/.cc since they are going to be reused by Jamie's CL and ignore SIGHUP for… #

Total comments: 2

Patch Set 7 : CR feedback. #

Patch Set 8 : rebased on top of master. #

Patch Set 9 : Added missing signal.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+781 lines, -334 lines) Patch
M remoting/base/stoppable.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/chromoting_host_context.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M remoting/host/chromoting_host_context.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_messages.h View 1 chunk +6 lines, -0 lines 0 comments Download
D remoting/host/composite_host_config.h View 1 1 chunk +0 lines, -48 lines 0 comments Download
remoting/host/composite_host_config.cc View 1 1 chunk +0 lines, -50 lines 0 comments Download
A remoting/host/config_file_watcher.h View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
A remoting/host/config_file_watcher.cc View 1 2 3 4 5 6 1 chunk +186 lines, -0 lines 0 comments Download
M remoting/host/daemon_process.h View 1 2 3 4 5 6 2 chunks +33 lines, -12 lines 0 comments Download
M remoting/host/daemon_process.cc View 1 2 3 4 5 6 2 chunks +46 lines, -15 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 1 2 3 2 chunks +240 lines, -6 lines 0 comments Download
M remoting/host/json_host_config.h View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/json_host_config.cc View 2 chunks +14 lines, -10 lines 0 comments Download
M remoting/host/me2me_preference_pane.mm View 1 2 3 4 5 6 7 1 chunk +2 lines, -11 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 7 8 14 chunks +101 lines, -130 lines 0 comments Download
M remoting/host/win/host_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M remoting/host/win/worker_process_launcher.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -14 lines 0 comments Download
M remoting/host/win/worker_process_launcher.cc View 1 2 3 4 5 6 7 7 chunks +16 lines, -8 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.h View 1 2 3 4 chunks +8 lines, -7 lines 0 comments Download
M remoting/host/win/wts_session_process_launcher.cc View 1 2 5 chunks +10 lines, -11 lines 0 comments Download
remoting/host/worker_process_ipc_delegate.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
alexeypa (please no reviews)
PTAL. Please ping me if you are swamped with other reviews.
8 years, 4 months ago (2012-08-20 17:25:47 UTC) #1
Wez
The REMOTING_MULTI_PROCESS ifdefs make a lot of this code more complex than it needs to ...
8 years, 4 months ago (2012-08-21 00:18:57 UTC) #2
alexeypa (please no reviews)
Here are some answers to your questions. This CL needs more work. I'll make the ...
8 years, 4 months ago (2012-08-21 17:16:36 UTC) #3
alexeypa (please no reviews)
OK, here is what came up after addressing the feedback. It has been rebased on ...
8 years, 4 months ago (2012-08-23 23:53:00 UTC) #4
Jamie
> This CL removes SIGHUP handling from Mac and Linux completely relying on file > ...
8 years, 4 months ago (2012-08-23 23:59:06 UTC) #5
Lambros
sighup removal LGTM.
8 years, 4 months ago (2012-08-24 00:24:53 UTC) #6
Wez
https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.h File remoting/host/daemon_process.h (right): https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.h#newcode48 remoting/host/daemon_process.h:48: // unless the network process is connected over the ...
8 years, 4 months ago (2012-08-24 22:20:37 UTC) #7
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.h File remoting/host/daemon_process.h (right): https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.h#newcode48 remoting/host/daemon_process.h:48: // unless the network process is connected over the ...
8 years, 3 months ago (2012-08-27 23:16:41 UTC) #8
Jamie
Re: removing the SIGHUP handler: Ideally, this should be in a separate CL, but I ...
8 years, 3 months ago (2012-08-29 17:10:46 UTC) #9
Sergey Ulanov
On 2012/08/29 17:10:46, Jamie wrote: > Re: removing the SIGHUP handler: Ideally, this should be ...
8 years, 3 months ago (2012-08-29 20:19:15 UTC) #10
Jamie
On 2012/08/29 20:19:15, sergeyu wrote: > On 2012/08/29 17:10:46, Jamie wrote: > > Re: removing ...
8 years, 3 months ago (2012-08-29 20:39:29 UTC) #11
Wez
https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.cc#newcode58 remoting/host/daemon_process.cc:58: base::Bind(&DaemonProcess::Initialize, base::Unretained(this))); On 2012/08/23 23:53:01, alexeypa wrote: > On ...
8 years, 3 months ago (2012-08-30 20:36:04 UTC) #12
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/daemon_process.cc#newcode58 remoting/host/daemon_process.cc:58: base::Bind(&DaemonProcess::Initialize, base::Unretained(this))); On 2012/08/30 20:36:04, Wez wrote: > For ...
8 years, 3 months ago (2012-08-30 23:15:13 UTC) #13
Wez
LGTM once the scoped_ptr<> issue is resolved. https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/win/worker_process_launcher.h File remoting/host/win/worker_process_launcher.h (right): https://chromiumcodereview.appspot.com/10855249/diff/1/remoting/host/win/worker_process_launcher.h#newcode70 remoting/host/win/worker_process_launcher.h:70: WorkerProcessDelegate* worker_delegate, ...
8 years, 3 months ago (2012-08-31 00:23:04 UTC) #14
alexeypa (please no reviews)
I moved most of ConfigFileWatcher's functionality to ConfigFileWatcherImpl. ConfigFileWatcher is a proxy that can be ...
8 years, 3 months ago (2012-08-31 21:26:55 UTC) #15
Wez
https://chromiumcodereview.appspot.com/10855249/diff/13004/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://chromiumcodereview.appspot.com/10855249/diff/13004/remoting/host/remoting_me2me_host.cc#newcode154 remoting/host/remoting_me2me_host.cc:154: virtual void OnConfigUpdated(const std::string& config) OVERRIDE { On 2012/08/31 ...
8 years, 3 months ago (2012-09-04 20:18:26 UTC) #16
alexeypa (please no reviews)
FYI https://chromiumcodereview.appspot.com/10855249/diff/13004/remoting/host/remoting_me2me_host.cc File remoting/host/remoting_me2me_host.cc (right): https://chromiumcodereview.appspot.com/10855249/diff/13004/remoting/host/remoting_me2me_host.cc#newcode154 remoting/host/remoting_me2me_host.cc:154: virtual void OnConfigUpdated(const std::string& config) OVERRIDE { On ...
8 years, 3 months ago (2012-09-05 16:08:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10855249/26004
8 years, 3 months ago (2012-09-05 16:52:08 UTC) #18
commit-bot: I haz the power
Try job failure for 10855249-26004 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-05 17:07:52 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-05 17:32:44 UTC) #20

Powered by Google App Engine
This is Rietveld 408576698