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

Issue 1454313002: Adding platform support check for NetworkObserver (Closed)

Created:
5 years, 1 month ago by Jana
Modified:
5 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ryan Hamilton, fayang_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@home
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding platform support check for NetworkObserver Committed: https://crrev.com/c94943b28b4876071a8d509f478e4c63ebb75ca2 Cr-Commit-Position: refs/heads/master@{#363020}

Patch Set 1 #

Patch Set 2 : Fixed typo. #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Addresses pauljensen's comments #

Total comments: 17

Patch Set 5 : Addresses pauljensen's comments. #

Total comments: 1

Patch Set 6 : comment addressed #

Patch Set 7 : trying to fix compile error #

Patch Set 8 : Fixing failing Android tests #

Patch Set 9 : Response to pauljensen's comments #

Patch Set 10 : Added forcing networkhandle support to NCNAndroid and NCNAndroidTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -3 lines) Patch
M net/android/network_change_notifier_android.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -0 lines 0 comments Download
M net/android/network_change_notifier_android.cc View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -1 line 0 comments Download
M net/android/network_change_notifier_android_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M net/base/network_change_notifier.h View 1 2 3 4 5 8 9 3 chunks +12 lines, -2 lines 0 comments Download
M net/base/network_change_notifier.cc View 1 2 3 4 8 9 6 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (20 generated)
Jana
I thought of adding a boolean return to AddNetworkObserver, but the semantics of that would ...
5 years, 1 month ago (2015-11-19 01:52:58 UTC) #2
Jana
Paul: Are there other observers for which such a method could/should be added? What about ...
5 years, 1 month ago (2015-11-19 01:58:26 UTC) #3
Ryan Hamilton
Cool. But my opinion is not important; Paul's it. https://codereview.chromium.org/1454313002/diff/20001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/1454313002/diff/20001/net/base/network_change_notifier.cc#newcode810 net/base/network_change_notifier.cc:810: ...
5 years, 1 month ago (2015-11-19 02:19:04 UTC) #5
Jana
https://codereview.chromium.org/1454313002/diff/20001/net/base/network_change_notifier.cc File net/base/network_change_notifier.cc (right): https://codereview.chromium.org/1454313002/diff/20001/net/base/network_change_notifier.cc#newcode810 net/base/network_change_notifier.cc:810: return true; On 2015/11/19 02:19:04, Ryan Hamilton wrote: > ...
5 years, 1 month ago (2015-11-19 03:25:20 UTC) #6
pauljensen
So I think we need to make some changes to this: 1. Broaden the API ...
5 years, 1 month ago (2015-11-19 04:12:55 UTC) #7
pauljensen
Jana and I discussed on VC: 1. I think changing the API name to AreNetworkHandlesSupported() ...
5 years, 1 month ago (2015-11-19 18:37:14 UTC) #8
Jana
Paul: I think this patch does what you want to do. PTAL.
5 years, 1 month ago (2015-11-20 23:08:48 UTC) #9
Ryan Hamilton
Looks good, but Paul knows for sure
5 years, 1 month ago (2015-11-20 23:36:18 UTC) #11
pauljensen
https://codereview.chromium.org/1454313002/diff/60001/net/android/network_change_notifier_android.cc File net/android/network_change_notifier_android.cc (right): https://codereview.chromium.org/1454313002/diff/60001/net/android/network_change_notifier_android.cc#newcode166 net/android/network_change_notifier_android.cc:166: // Notifications for API using NetworkHandles only implemented for ...
5 years ago (2015-11-30 20:23:48 UTC) #13
Jana
Thanks, Paul, comments addressed. https://codereview.chromium.org/1454313002/diff/60001/net/android/network_change_notifier_android.cc File net/android/network_change_notifier_android.cc (right): https://codereview.chromium.org/1454313002/diff/60001/net/android/network_change_notifier_android.cc#newcode166 net/android/network_change_notifier_android.cc:166: // Notifications for API using ...
5 years ago (2015-11-30 22:31:06 UTC) #14
pauljensen
lgtm modulo my one comment https://codereview.chromium.org/1454313002/diff/80001/net/base/network_change_notifier.h File net/base/network_change_notifier.h (right): https://codereview.chromium.org/1454313002/diff/80001/net/base/network_change_notifier.h#newcode297 net/base/network_change_notifier.h:297: // RemoveNetworkObserver, and all ...
5 years ago (2015-12-01 12:34:44 UTC) #15
Jana
Thanks, Paul. Fixed, and submitting.
5 years ago (2015-12-01 16:24:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/100001
5 years ago (2015-12-01 16:25:42 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/91937)
5 years ago (2015-12-01 16:38:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/120001
5 years ago (2015-12-01 17:23:09 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/103361)
5 years ago (2015-12-01 18:42:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/120001
5 years ago (2015-12-01 18:45:36 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/103425)
5 years ago (2015-12-01 20:51:42 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/120001
5 years ago (2015-12-01 22:57:26 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/103618)
5 years ago (2015-12-02 02:49:34 UTC) #36
Jana
Paul: Per our offline conversation, I've added the set method for tests. PTAL
5 years ago (2015-12-02 03:54:06 UTC) #37
pauljensen
That's not how I envisioned this. Furthermore I don't think the change works: the test ...
5 years ago (2015-12-02 13:43:31 UTC) #38
Jana
Paul: I think I'm going to need to do the same for tests later using ...
5 years ago (2015-12-02 18:13:09 UTC) #39
pauljensen
On 2015/12/02 18:13:09, Jana wrote: > Paul: I think I'm going to need to do ...
5 years ago (2015-12-02 18:16:14 UTC) #40
pauljensen
On 2015/12/02 18:16:14, pauljensen wrote: > On 2015/12/02 18:13:09, Jana wrote: > > Paul: I ...
5 years ago (2015-12-02 18:19:32 UTC) #41
Jana
I'll do it in AndroidNCN, but I was trying to point out that I'll have ...
5 years ago (2015-12-02 21:35:30 UTC) #42
Jana
Ok -- support added per your earlier comment. PTAL.
5 years ago (2015-12-02 21:50:54 UTC) #43
pauljensen
lgtm
5 years ago (2015-12-03 03:52:45 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/180001
5 years ago (2015-12-03 03:53:13 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/102264)
5 years ago (2015-12-03 06:13:05 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1454313002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1454313002/180001
5 years ago (2015-12-03 17:16:57 UTC) #50
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years ago (2015-12-03 18:50:33 UTC) #51
commit-bot: I haz the power
5 years ago (2015-12-03 18:51:23 UTC) #53
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c94943b28b4876071a8d509f478e4c63ebb75ca2
Cr-Commit-Position: refs/heads/master@{#363020}

Powered by Google App Engine
This is Rietveld 408576698