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

Issue 2026123002: [Chromoting] Use google:remoting namespace to export remoting specific error codes (Closed)

Created:
4 years, 6 months ago by Hzj_jie
Modified:
4 years, 6 months ago
Reviewers:
Sergey Ulanov, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting]Use google:remoting namespace to export remoting specific error code. Jingle does not provide enough error codes for chromoting. So this change is to add an error-code tag under 'google:remoting' namespace in JingleMessage, and export chromoting specific error code under this node and namespace. BUG=616156 Committed: https://crrev.com/d1ee82f8fe9fd81b8ecb6b668f0acf0fbaa262c2 Cr-Commit-Position: refs/heads/master@{#398387}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Resolve review comments #

Total comments: 28

Patch Set 3 : Resolve review comments #

Total comments: 12

Patch Set 4 : Resolve review comments #

Total comments: 12

Patch Set 5 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -66 lines) Patch
M remoting/protocol/errors.h View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M remoting/protocol/errors.cc View 1 2 3 4 1 chunk +25 lines, -20 lines 0 comments Download
M remoting/protocol/jingle_messages.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M remoting/protocol/jingle_messages.cc View 1 2 3 4 4 chunks +19 lines, -7 lines 0 comments Download
M remoting/protocol/jingle_messages_unittest.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 2 3 4 3 chunks +41 lines, -36 lines 0 comments Download
M remoting/protocol/name_value_map.h View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
Hzj_jie
4 years, 6 months ago (2016-06-01 00:01:46 UTC) #4
Sergey Ulanov
Please update CL description to follow the format suggested here: https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions https://codereview.chromium.org/2026123002/diff/20001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): ...
4 years, 6 months ago (2016-06-01 08:52:47 UTC) #5
Hzj_jie
https://codereview.chromium.org/2026123002/diff/20001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2026123002/diff/20001/remoting/protocol/jingle_messages.cc#newcode25 remoting/protocol/jingle_messages.cc:25: const char kRemotingNamespace[] = "google:remoting"; On 2016/06/01 08:52:47, Sergey ...
4 years, 6 months ago (2016-06-01 23:56:13 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/errors.cc File remoting/protocol/errors.cc (right): https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/errors.cc#newcode12 remoting/protocol/errors.cc:12: #define MAP_STRING_LITERAL(x) \ We don't use define like this ...
4 years, 6 months ago (2016-06-02 09:26:04 UTC) #8
kelvinp
lgtm pending sergeyu's comment. Once this change is landed. I will make a similar change ...
4 years, 6 months ago (2016-06-02 17:39:04 UTC) #9
Hzj_jie
https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/errors.cc File remoting/protocol/errors.cc (right): https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/errors.cc#newcode12 remoting/protocol/errors.cc:12: #define MAP_STRING_LITERAL(x) \ On 2016/06/02 09:26:03, Sergey Ulanov wrote: ...
4 years, 6 months ago (2016-06-02 22:00:19 UTC) #11
Sergey Ulanov
https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/jingle_messages.cc#newcode450 remoting/protocol/jingle_messages.cc:450: error_code_tag->AddElement(new XmlElement( On 2016/06/02 22:00:18, Hzj_jie wrote: > On ...
4 years, 6 months ago (2016-06-03 08:43:22 UTC) #12
Sergey Ulanov
https://codereview.chromium.org/2026123002/diff/60001/remoting/protocol/jingle_messages_unittest.cc File remoting/protocol/jingle_messages_unittest.cc (right): https://codereview.chromium.org/2026123002/diff/60001/remoting/protocol/jingle_messages_unittest.cc#newcode577 remoting/protocol/jingle_messages_unittest.cc:577: ParseFormatAndCompare(message.ToXml()->Str().c_str(), &parsed); This tests formats message, parses it and ...
4 years, 6 months ago (2016-06-03 08:53:49 UTC) #13
Hzj_jie
https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2026123002/diff/40001/remoting/protocol/jingle_messages.cc#newcode450 remoting/protocol/jingle_messages.cc:450: error_code_tag->AddElement(new XmlElement( On 2016/06/03 08:43:22, Sergey Ulanov wrote: > ...
4 years, 6 months ago (2016-06-03 21:46:34 UTC) #14
Sergey Ulanov
LGTM with some style nits. Thanks for getting this done! https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/errors.cc File remoting/protocol/errors.cc (right): https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/errors.cc#newcode31 ...
4 years, 6 months ago (2016-06-07 16:22:23 UTC) #15
Hzj_jie
https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/errors.cc File remoting/protocol/errors.cc (right): https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/errors.cc#newcode31 remoting/protocol/errors.cc:31: } On 2016/06/07 16:22:23, Sergey Ulanov wrote: > // ...
4 years, 6 months ago (2016-06-07 19:29:57 UTC) #16
Sergey Ulanov
https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/jingle_messages.cc#newcode447 remoting/protocol/jingle_messages.cc:447: DCHECK(error_code_string); On 2016/06/07 19:29:57, Hzj_jie wrote: > On 2016/06/07 ...
4 years, 6 months ago (2016-06-07 20:17:21 UTC) #17
Hzj_jie
https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2026123002/diff/80001/remoting/protocol/jingle_messages.cc#newcode447 remoting/protocol/jingle_messages.cc:447: DCHECK(error_code_string); On 2016/06/07 20:17:21, Sergey Ulanov wrote: > On ...
4 years, 6 months ago (2016-06-07 20:20:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026123002/100001
4 years, 6 months ago (2016-06-07 20:32:27 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 6 months ago (2016-06-07 21:41:29 UTC) #23
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 21:43:48 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d1ee82f8fe9fd81b8ecb6b668f0acf0fbaa262c2
Cr-Commit-Position: refs/heads/master@{#398387}

Powered by Google App Engine
This is Rietveld 408576698