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

Issue 2193623002: Make the BlimpClientContextImplAndroid become a BlimpClientContextImpl (Closed)

Created:
4 years, 4 months ago by nyquist
Modified:
4 years, 4 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the BlimpClientContextImplAndroid become a BlimpClientContextImpl Currently the BlimpClientContextImplAndroid has-a BlimpClientContextImpl, which makes it hard for it to provide functionality backing a BlimpClientContext. This CL changes the Android-version of the class to be a subclass of the cross platform implementation. To not make the cross platform version of the BlimpClientContext subclass implement GetJavaObject() itself, it is now a static method of the BlimpClientContext, and linked in as a dummy or actual version depending on whether blimp is supported or not. BUG=611097 Committed: https://crrev.com/acbaf0f9f124751d7f9144d9f2725f5667f55fcf Cr-Commit-Position: refs/heads/master@{#409474}

Patch Set 1 #

Total comments: 2

Patch Set 2 : clean rebase #

Patch Set 3 : Convert to static method and fix dummy parts. #

Patch Set 4 : merge origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -131 lines) Patch
M blimp/client/core/android/blimp_client_context_impl_android.h View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
M blimp/client/core/android/blimp_client_context_impl_android.cc View 1 2 3 3 chunks +21 lines, -7 lines 0 comments Download
M blimp/client/core/android/dummy_blimp_client_context_android.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M blimp/client/core/android/dummy_blimp_client_context_android.cc View 1 2 3 chunks +16 lines, -3 lines 0 comments Download
M blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpClientContextImpl.java View 2 chunks +2 lines, -2 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl.h View 1 2 3 3 chunks +2 lines, -19 lines 0 comments Download
M blimp/client/core/blimp_client_context_impl.cc View 1 2 3 4 chunks +4 lines, -32 lines 0 comments Download
M blimp/client/core/dummy_blimp_client_context.h View 1 2 1 chunk +2 lines, -19 lines 0 comments Download
M blimp/client/core/dummy_blimp_client_context.cc View 1 2 3 3 chunks +4 lines, -33 lines 0 comments Download
M blimp/client/public/blimp_client_context.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/android/blimp/blimp_client_context_factory_android.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
nyquist
dtrainor: PTAL
4 years, 4 months ago (2016-07-29 20:34:17 UTC) #6
David Trainor- moved to gerrit
lgtm. Just investigate the static to see if it's cleaner. Both are unfortunate and either ...
4 years, 4 months ago (2016-08-02 22:53:27 UTC) #7
nyquist
https://codereview.chromium.org/2193623002/diff/1/blimp/client/core/android/blimp_client_context_impl_android.h File blimp/client/core/android/blimp_client_context_impl_android.h (right): https://codereview.chromium.org/2193623002/diff/1/blimp/client/core/android/blimp_client_context_impl_android.h#newcode27 blimp/client/core/android/blimp_client_context_impl_android.h:27: base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override; On 2016/08/02 22:53:27, David Trainor wrote: ...
4 years, 4 months ago (2016-08-03 01:58:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2193623002/40001
4 years, 4 months ago (2016-08-03 01:59:09 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/229898) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-03 02:01:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2193623002/60001
4 years, 4 months ago (2016-08-03 06:41:18 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-03 07:25:13 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 07:27:10 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/acbaf0f9f124751d7f9144d9f2725f5667f55fcf
Cr-Commit-Position: refs/heads/master@{#409474}

Powered by Google App Engine
This is Rietveld 408576698