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

Issue 537253003: Implementing RTC debugging session objects (client and server parts). (Closed)

Created:
6 years, 3 months ago by SeRya
Modified:
6 years, 2 months ago
CC:
chromium-reviews, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@tunnel
Project:
chromium
Visibility:
Public.

Description

Implementing RTC debugging session objects (client and server parts). Pair of ClientSession and ServerSession holds WebRTC connection which tunnels DevTools UNIX socket. Once cloud based signaling channel doesn't exist at the moment connections work on a single android device. For manual testing the testing APK has launch activity which lets to start service which tunnels Chrome Shell socket to another local socket (only works when Chrome Shell signed with the same certificate). BUG=383418 TEST=Automatic: LocalSessionBridgeTest, SessionControlMessagesTest. See description for manual testing. R=mnaganov@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/a25a26c53da3c9ee6bce24cf5ce9a60e81d97c39

Patch Set 1 : #

Patch Set 2 : Rebasing on org.webrtc.* API. #

Patch Set 3 : Polishing #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : findbugs fixes. #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : DEPS added. #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2382 lines, -40 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 3 chunks +7 lines, -8 lines 0 comments Download
M build/android/findbugs_filter/findbugs_known_bugs.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/devtools_bridge.gyp View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
A + components/devtools_bridge/DEPS View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/AbstractPeerConnection.java View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/RTCConfiguration.java View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java View 1 2 3 1 chunk +178 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SessionBase.java View 1 2 3 1 chunk +431 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SessionControlMessages.java View 1 2 1 chunk +250 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SessionDependencyFactory.java View 1 2 3 4 5 6 1 chunk +370 lines, -0 lines 0 comments Download
M components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SocketTunnelBase.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/devtools_bridge/android/javatests/AndroidManifest.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/LocalSessionBridgeTest.java View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
A components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/SessionControlMessagesTest.java View 1 2 3 4 1 chunk +94 lines, -0 lines 0 comments Download
M components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/DebugActivity.java View 1 2 1 chunk +10 lines, -9 lines 0 comments Download
M components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/tests/DebugService.java View 1 2 3 chunks +97 lines, -19 lines 0 comments Download
A components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/ClientSession.java View 1 2 1 chunk +248 lines, -0 lines 0 comments Download
A components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/LocalSessionBridge.java View 1 2 1 chunk +432 lines, -0 lines 0 comments Download
M components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingThreadMock.java View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (8 generated)
SeRya
PTAL. This patch depends on https://codereview.chromium.org/551793003/
6 years, 3 months ago (2014-09-25 07:56:21 UTC) #4
mnaganov (inactive)
LGTM % typos https://codereview.chromium.org/537253003/diff/80001/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java File components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java (right): https://codereview.chromium.org/537253003/diff/80001/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java#newcode109 components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java:109: callback.onFailure("Concurent requests detected"); typo: Concurrent https://codereview.chromium.org/537253003/diff/80001/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java#newcode116 ...
6 years, 2 months ago (2014-10-01 09:33:57 UTC) #5
SeRya
https://codereview.chromium.org/537253003/diff/80001/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java File components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java (right): https://codereview.chromium.org/537253003/diff/80001/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java#newcode109 components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/ServerSession.java:109: callback.onFailure("Concurent requests detected"); On 2014/10/01 09:33:57, mnaganov (cr) wrote: ...
6 years, 2 months ago (2014-10-02 11:30:20 UTC) #6
SeRya
Yaron, please review changes in: build/all.gyp build/android/findbugs_filter/findbugs_known_bugs.txt I'm adding known bugs because I'm making use ...
6 years, 2 months ago (2014-10-10 09:07:43 UTC) #8
Yaron
https://codereview.chromium.org/537253003/diff/230001/build/android/findbugs_filter/findbugs_known_bugs.txt File build/android/findbugs_filter/findbugs_known_bugs.txt (right): https://codereview.chromium.org/537253003/diff/230001/build/android/findbugs_filter/findbugs_known_bugs.txt#newcode25 build/android/findbugs_filter/findbugs_known_bugs.txt:25: M D NP: Read of unwritten public or protected ...
6 years, 2 months ago (2014-10-14 20:02:54 UTC) #9
SeRya
https://codereview.chromium.org/537253003/diff/230001/build/android/findbugs_filter/findbugs_known_bugs.txt File build/android/findbugs_filter/findbugs_known_bugs.txt (right): https://codereview.chromium.org/537253003/diff/230001/build/android/findbugs_filter/findbugs_known_bugs.txt#newcode25 build/android/findbugs_filter/findbugs_known_bugs.txt:25: M D NP: Read of unwritten public or protected ...
6 years, 2 months ago (2014-10-15 09:05:50 UTC) #10
Yaron
On Wed Oct 15 2014 at 2:05:50 AM <serya@chromium.org> wrote: > > https://codereview.chromium.org/537253003/diff/230001/ > build/android/findbugs_filter/findbugs_known_bugs.txt ...
6 years, 2 months ago (2014-10-15 19:15:40 UTC) #11
SeRya
On 2014/10/15 19:15:40, Yaron wrote: > On Wed Oct 15 2014 at 2:05:50 AM <mailto:serya@chromium.org> ...
6 years, 2 months ago (2014-10-16 08:42:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/537253003/430001
6 years, 2 months ago (2014-10-16 08:49:32 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/18012)
6 years, 2 months ago (2014-10-16 08:55:32 UTC) #16
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/a25a26c53da3c9ee6bce24cf5ce9a60e81d97c39 Cr-Commit-Position: refs/heads/master@{#299871}
6 years, 2 months ago (2014-10-16 09:36:36 UTC) #19
SeRya
Committed patchset #8 (id:490001) manually as a25a26c53da3c9ee6bce24cf5ce9a60e81d97c39.
6 years, 2 months ago (2014-10-16 09:37:04 UTC) #20
Yaron
On 2014/10/16 08:42:56, SeRya wrote: > On 2014/10/15 19:15:40, Yaron wrote: > > On Wed ...
6 years, 2 months ago (2014-10-16 15:58:17 UTC) #21
SeRya
> > > See how chrome/DEPS has some "-" rules. I was suggesting that we ...
6 years, 2 months ago (2014-10-17 06:45:25 UTC) #22
chromium-reviews
That's not what I meant. That means that components/devtools_bridge cant' depend on content/ and chrome/ ...
6 years, 2 months ago (2014-10-17 18:51:43 UTC) #23
SeRya
6 years, 2 months ago (2014-10-20 07:58:53 UTC) #24
Message was sent while issue was closed.
On 2014/10/17 18:51:43, chromium-reviews wrote:
> That's not what I meant. That means that components/devtools_bridge cant'
> depend on content/ and chrome/ (the latter being redundant since none can).
> You need to update the DEPS in chrome/browser

Oops. Sorry. I'll fix it in a separate CL. It's looks orthogonal anyway.

Powered by Google App Engine
This is Rietveld 408576698