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

Issue 282063005: Pull out common code from client and host versions of ServerLogEntry. (Closed)

Created:
6 years, 7 months ago by Lambros
Modified:
6 years, 7 months ago
Reviewers:
Sergey Ulanov, rmsousa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Visibility:
Public.

Description

Pull out common code from client and host versions of ServerLogEntry. This also adds unittests for ServerLogEntry client code, with common code pulled out to a separate file. This doesn't affect LogToServer classes - they will be refactored in a separate CL. Also fix some IWYU issues uncovered by the refactor. TEST=unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272346

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Move ServerLogEntry to jingle_glue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+682 lines, -976 lines) Patch
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/log_to_server.h View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/log_to_server.cc View 1 6 chunks +11 lines, -11 lines 0 comments Download
D remoting/client/server_log_entry.h View 1 chunk +0 lines, -93 lines 0 comments Download
D remoting/client/server_log_entry.cc View 1 chunk +0 lines, -238 lines 0 comments Download
A remoting/client/server_log_entry_client.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
A + remoting/client/server_log_entry_client.cc View 1 4 chunks +77 lines, -149 lines 0 comments Download
A remoting/client/server_log_entry_client_unittest.cc View 1 1 chunk +125 lines, -0 lines 0 comments Download
M remoting/host/heartbeat_sender.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/host_status_sender.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/it2me/it2me_host.h View 1 chunk +5 lines, -4 lines 0 comments Download
M remoting/host/it2me/it2me_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host_main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/log_to_server.h View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/log_to_server.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
D remoting/host/server_log_entry.h View 1 chunk +0 lines, -74 lines 0 comments Download
D remoting/host/server_log_entry.cc View 1 chunk +0 lines, -171 lines 0 comments Download
A remoting/host/server_log_entry_host.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/host/server_log_entry_host.cc View 1 1 chunk +107 lines, -0 lines 0 comments Download
A + remoting/host/server_log_entry_host_unittest.cc View 1 6 chunks +14 lines, -64 lines 0 comments Download
D remoting/host/server_log_entry_unittest.cc View 1 chunk +0 lines, -151 lines 0 comments Download
A remoting/jingle_glue/server_log_entry.h View 1 1 chunk +64 lines, -0 lines 0 comments Download
A remoting/jingle_glue/server_log_entry.cc View 1 1 chunk +88 lines, -0 lines 0 comments Download
A remoting/jingle_glue/server_log_entry_unittest.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
A remoting/jingle_glue/server_log_entry_unittest.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
M remoting/remoting_host.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 chunks +4 lines, -2 lines 0 comments Download
M remoting/remoting_test.gypi View 1 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Lambros
Sorry it's a biggie - can't see any way to split this up.
6 years, 7 months ago (2014-05-16 23:41:45 UTC) #1
rmsousa
lgtm w/ nits (but I don't know how to resolve the first one, and am ...
6 years, 7 months ago (2014-05-20 00:54:41 UTC) #2
Lambros
Adding sergeyu@ for thoughts on this. https://codereview.chromium.org/282063005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/282063005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc#newcode22 remoting/client/jni/chromoting_jni_instance.cc:22: #include "remoting/protocol/server_log_entry.h" On ...
6 years, 7 months ago (2014-05-20 01:13:34 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/282063005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/282063005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc#newcode22 remoting/client/jni/chromoting_jni_instance.cc:22: #include "remoting/protocol/server_log_entry.h" On 2014/05/20 01:13:35, Lambros wrote: > On ...
6 years, 7 months ago (2014-05-21 04:02:36 UTC) #4
Lambros
SGTM On Tue, May 20, 2014 at 9:02 PM, <sergeyu@chromium.org> wrote: > > https://codereview.chromium.org/282063005/diff/60001/remoting/client/jni/ > ...
6 years, 7 months ago (2014-05-21 15:27:28 UTC) #5
Lambros
ptal. The only change I've made is to move ServerLogEntry (+unittests) from protocol/ to jingle_glue/
6 years, 7 months ago (2014-05-22 00:10:48 UTC) #6
rmsousa
lgtm
6 years, 7 months ago (2014-05-22 00:13:36 UTC) #7
Lambros
The CQ bit was checked by lambroslambrou@chromium.org
6 years, 7 months ago (2014-05-22 01:45:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/282063005/80001
6 years, 7 months ago (2014-05-22 01:49:22 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 11:47:07 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 11:48:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/9740)
6 years, 7 months ago (2014-05-22 11:48:58 UTC) #12
Lambros
The CQ bit was checked by lambroslambrou@chromium.org
6 years, 7 months ago (2014-05-22 22:17:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/282063005/80001
6 years, 7 months ago (2014-05-22 22:19:09 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 22:21:25 UTC) #15
Message was sent while issue was closed.
Change committed as 272346

Powered by Google App Engine
This is Rietveld 408576698