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

Issue 301453003: Host extensions (Closed)

Created:
6 years, 7 months ago by dcaiafa
Modified:
6 years, 6 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chromoting-reviews_chromium.org
Visibility:
Public.

Description

Host extensions This CL introduces HostExtension, an interface for classes that extend the host with non-core functionality. Extensions are added to the ChromotingHost. They are used to compile the list of capabilities reported to the client, which can be used by the client to determine the availability of the extension. When a client connects, a HostExtension has the opportunity to create an HostExtensionSession to hold client/extension state, and to handle extension messages from that client. BUG= NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273901

Patch Set 1 : #

Total comments: 28

Patch Set 2 : #

Patch Set 3 : ChromotingHost creates extension sessions, and adds capabilities #

Total comments: 16

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebase to ToT #

Patch Set 6 : Fixed remoting_host.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -5 lines) Patch
M remoting/host/chromoting_host.h View 1 2 3 5 chunks +11 lines, -1 line 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M remoting/host/client_session.h View 1 2 3 6 chunks +22 lines, -0 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 6 chunks +31 lines, -1 line 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 10 chunks +200 lines, -1 line 0 comments Download
A remoting/host/host_extension.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A remoting/host/host_extension_session.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/session_config.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_host.gypi View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
dcaiafa
6 years, 6 months ago (2014-05-27 23:52:02 UTC) #1
Wez
https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.cc#newcode327 remoting/host/chromoting_host.cc:327: &extensions_.get()); This looks weird; does ScopedVector.get() return the bare ...
6 years, 6 months ago (2014-05-28 01:05:58 UTC) #2
dcaiafa
ptal https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.cc#newcode327 remoting/host/chromoting_host.cc:327: &extensions_.get()); Removed. https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.h File remoting/host/chromoting_host.h (right): https://codereview.chromium.org/301453003/diff/40001/remoting/host/chromoting_host.h#newcode11 remoting/host/chromoting_host.h:11: ...
6 years, 6 months ago (2014-05-28 22:44:57 UTC) #3
Wez
LGTM It looks like AddHostCapabilities() is used for both HostExtension and DesktopEnvironment capabilities; that wasn't ...
6 years, 6 months ago (2014-05-28 23:03:41 UTC) #4
dcaiafa
Thanks! https://codereview.chromium.org/301453003/diff/80001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): https://codereview.chromium.org/301453003/diff/80001/remoting/host/chromoting_host.cc#newcode219 remoting/host/chromoting_host.cc:219: client->AddHostCapabilities((*extension)->GetCapabilities()); On 2014/05/28 23:03:41, Wez wrote: > Do ...
6 years, 6 months ago (2014-05-29 00:03:15 UTC) #5
dcaiafa
The CQ bit was checked by dcaiafa@chromium.org
6 years, 6 months ago (2014-05-29 16:37:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/301453003/140001
6 years, 6 months ago (2014-05-29 16:40:20 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 20:15:47 UTC) #8
commit-bot: I haz the power
Change committed as 273652
6 years, 6 months ago (2014-05-29 23:25:09 UTC) #9
dcaiafa
The CQ bit was checked by dcaiafa@chromium.org
6 years, 6 months ago (2014-05-30 14:19:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/301453003/160001
6 years, 6 months ago (2014-05-30 14:20:00 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 16:47:34 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 19:12:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158309)
6 years, 6 months ago (2014-05-30 19:12:50 UTC) #14
dcaiafa
The CQ bit was checked by dcaiafa@chromium.org
6 years, 6 months ago (2014-05-30 20:06:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcaiafa@chromium.org/301453003/160001
6 years, 6 months ago (2014-05-30 20:08:00 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 20:13:19 UTC) #17
Message was sent while issue was closed.
Change committed as 273901

Powered by Google App Engine
This is Rietveld 408576698