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

Issue 16236008: Send enums as strings between Chromoting Native Messaging host and web-app. (Closed)

Created:
7 years, 6 months ago by Lambros
Modified:
7 years, 6 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Send enums as strings between Chromoting Native Messaging host and web-app. This updates the JSON interface to transmit State and AsyncResult values as strings instead of numbers. BUG=232135 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203894

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move constants and fix loops #

Total comments: 6

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -33 lines) Patch
M remoting/host/setup/daemon_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/native_messaging_host.cc View 1 2 2 chunks +40 lines, -6 lines 0 comments Download
M remoting/host/setup/native_messaging_host_unittest.cc View 1 2 4 chunks +8 lines, -12 lines 0 comments Download
M remoting/webapp/host_native_messaging.js View 1 2 2 chunks +10 lines, -14 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lambros
7 years, 6 months ago (2013-05-30 22:40:21 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/16236008/diff/1/remoting/host/setup/daemon_controller.h File remoting/host/setup/daemon_controller.h (right): https://codereview.chromium.org/16236008/diff/1/remoting/host/setup/daemon_controller.h#newcode51 remoting/host/setup/daemon_controller.h:51: static const char kStateNotImplemented[]; These consts do not need ...
7 years, 6 months ago (2013-05-30 23:14:52 UTC) #2
Lambros
https://codereview.chromium.org/16236008/diff/1/remoting/host/setup/daemon_controller.h File remoting/host/setup/daemon_controller.h (right): https://codereview.chromium.org/16236008/diff/1/remoting/host/setup/daemon_controller.h#newcode51 remoting/host/setup/daemon_controller.h:51: static const char kStateNotImplemented[]; On 2013/05/30 23:14:52, Sergey Ulanov ...
7 years, 6 months ago (2013-05-31 01:32:56 UTC) #3
Sergey Ulanov
LGTM when my comments are addressed. https://codereview.chromium.org/16236008/diff/7001/remoting/host/setup/native_messaging_host.cc File remoting/host/setup/native_messaging_host.cc (right): https://codereview.chromium.org/16236008/diff/7001/remoting/host/setup/native_messaging_host.cc#newcode39 remoting/host/setup/native_messaging_host.cc:39: const char NativeMessagingHost::kStateNotImplemented[] ...
7 years, 6 months ago (2013-05-31 23:01:43 UTC) #4
Lambros
https://codereview.chromium.org/16236008/diff/7001/remoting/host/setup/native_messaging_host.cc File remoting/host/setup/native_messaging_host.cc (right): https://codereview.chromium.org/16236008/diff/7001/remoting/host/setup/native_messaging_host.cc#newcode39 remoting/host/setup/native_messaging_host.cc:39: const char NativeMessagingHost::kStateNotImplemented[] = "NOT_IMPLEMENTED"; On 2013/05/31 23:01:43, Sergey ...
7 years, 6 months ago (2013-06-03 21:28:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/16236008/14001
7 years, 6 months ago (2013-06-03 21:31:41 UTC) #6
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 07:24:40 UTC) #7
Message was sent while issue was closed.
Change committed as 203894

Powered by Google App Engine
This is Rietveld 408576698