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

Issue 2160263002: Use supported Android network handles in Android M and newer. (Closed)

Created:
4 years, 5 months ago by pauljensen
Modified:
4 years, 5 months ago
Reviewers:
qinmin, jkarlin, xunjieli
CC:
chromium-reviews, asanka, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use supported Android network handles in Android M and newer. In Android N loading system libraries is banned so use the supported mechanism for Android M and newer releases. For Android L we still need to manually load the system library. BUG=625188 Committed: https://crrev.com/479143c5186dc2559f645cf25f9aebc006e0f3a2 Cr-Commit-Position: refs/heads/master@{#407139}

Patch Set 1 #

Patch Set 2 : update comment #

Patch Set 3 : update comment url #

Total comments: 3

Patch Set 4 : add test #

Total comments: 3

Patch Set 5 : comment parseInt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -108 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java View 1 chunk +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java View 1 chunk +4 lines, -4 lines 0 comments Download
M net/android/java/src/org/chromium/net/NetworkChangeNotifier.java View 10 chunks +23 lines, -22 lines 0 comments Download
M net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java View 1 2 3 4 13 chunks +27 lines, -21 lines 0 comments Download
M net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java View 6 chunks +10 lines, -10 lines 0 comments Download
M net/android/network_change_notifier_delegate_android.h View 3 chunks +9 lines, -9 lines 0 comments Download
M net/android/network_change_notifier_delegate_android.cc View 8 chunks +16 lines, -16 lines 0 comments Download
M net/base/network_change_notifier.h View 1 chunk +5 lines, -2 lines 0 comments Download
M net/udp/udp_socket_posix.cc View 1 2 3 1 chunk +48 lines, -20 lines 0 comments Download
M net/udp/udp_socket_unittest.cc View 1 2 3 2 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
pauljensen
Helen, PTAL.
4 years, 5 months ago (2016-07-19 18:24:10 UTC) #2
xunjieli
The change looks good! How about adding a unit test in net/udp/udp_socket_unittest.cc to test calling ...
4 years, 5 months ago (2016-07-20 13:49:35 UTC) #3
pauljensen
On 2016/07/20 13:49:35, xunjieli wrote: > The change looks good! How about adding a unit ...
4 years, 5 months ago (2016-07-20 17:33:51 UTC) #6
xunjieli
> I added a unit-test, PTAL. This is currently tested by the QUIC Cronet tests ...
4 years, 5 months ago (2016-07-20 17:44:01 UTC) #7
xunjieli
https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc#newcode360 net/udp/udp_socket_posix.cc:360: // This is racy, but all racers should come ...
4 years, 5 months ago (2016-07-20 17:55:49 UTC) #8
pauljensen
https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc#newcode360 net/udp/udp_socket_posix.cc:360: // This is racy, but all racers should come ...
4 years, 5 months ago (2016-07-20 18:02:16 UTC) #9
xunjieli
https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc File net/udp/udp_socket_posix.cc (right): https://codereview.chromium.org/2160263002/diff/60001/net/udp/udp_socket_posix.cc#newcode360 net/udp/udp_socket_posix.cc:360: // This is racy, but all racers should come ...
4 years, 5 months ago (2016-07-20 18:08:03 UTC) #10
pauljensen
jkarlin PTAL @ BackgroundSyncNetworkObserver.java qinmin PTAL @ DownloadManagerService.java
4 years, 5 months ago (2016-07-20 18:20:14 UTC) #12
jkarlin
BackgroundSyncNetworkObserver.java lgtm
4 years, 5 months ago (2016-07-20 18:21:44 UTC) #13
pauljensen
Min, ping. This should be a very quick review.
4 years, 5 months ago (2016-07-21 18:23:15 UTC) #14
qinmin
lgtm
4 years, 5 months ago (2016-07-21 20:47:47 UTC) #15
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/2160263002/80001
4 years, 5 months ago (2016-07-22 11:23:35 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-22 12:35:23 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 12:37:29 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/479143c5186dc2559f645cf25f9aebc006e0f3a2
Cr-Commit-Position: refs/heads/master@{#407139}

Powered by Google App Engine
This is Rietveld 408576698