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

Issue 11359141: Use Netlink instead of NetworkManager (via D-bus) to monitor network (Closed)

Created:
8 years, 1 month ago by pauljensen
Modified:
8 years ago
Reviewers:
szym, brettw
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, erikwright+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Use Netlink instead of NetworkManager (via D-bus) to monitor network connectivity on Linux. BUG=117973 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170211

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Address szym's comments #

Patch Set 3 : Get rid of unused comments and includes #

Patch Set 4 : Switch from WaitableEvent to ConditionVariable #

Patch Set 5 : Handle failed init gracefully #

Total comments: 2

Patch Set 6 : Address szym's second round of comments #

Patch Set 7 : Begin work on unit testing #

Patch Set 8 : sync #

Patch Set 9 : more testing work #

Patch Set 10 : finish testing #

Patch Set 11 : Little reformat #

Total comments: 8

Patch Set 12 : Address szym's comments on unittest #

Total comments: 3

Patch Set 13 : Address szym's second round of unittest comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -625 lines) Patch
M base/threading/thread_restrictions.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M net/base/address_tracker_linux.h View 1 2 3 4 5 3 chunks +40 lines, -9 lines 0 comments Download
M net/base/address_tracker_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +150 lines, -64 lines 0 comments Download
M net/base/address_tracker_linux_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +158 lines, -51 lines 0 comments Download
M net/base/network_change_notifier_linux.h View 2 chunks +1 line, -8 lines 0 comments Download
M net/base/network_change_notifier_linux.cc View 1 2 4 chunks +10 lines, -247 lines 0 comments Download
D net/base/network_change_notifier_linux_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -243 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
pauljensen
Can you take a brief look at this? Its somewhat of a work in progress ...
8 years, 1 month ago (2012-11-09 22:27:42 UTC) #1
szym
http://codereview.chromium.org/11359141/diff/4001/net/base/address_tracker_linux.cc File net/base/address_tracker_linux.cc (right): http://codereview.chromium.org/11359141/diff/4001/net/base/address_tracker_linux.cc#newcode171 net/base/address_tracker_linux.cc:171: netlink_fd_ = -1; Since you need to do this ...
8 years, 1 month ago (2012-11-11 16:21:55 UTC) #2
pauljensen
We covered some of this verbally, but here were my typed up thoughts. http://codereview.chromium.org/11359141/diff/4001/net/base/address_tracker_linux.cc File ...
8 years, 1 month ago (2012-11-12 16:45:21 UTC) #3
pauljensen
Szymon, could you take a more thorough look now that I think we've finalized the ...
8 years, 1 month ago (2012-11-16 15:16:50 UTC) #4
szym
lgtm http://codereview.chromium.org/11359141/diff/16001/net/base/address_tracker_linux.cc File net/base/address_tracker_linux.cc (right): http://codereview.chromium.org/11359141/diff/16001/net/base/address_tracker_linux.cc#newcode160 net/base/address_tracker_linux.cc:160: base::AutoLock lock(is_offline_lock_); This should be closer to where ...
8 years, 1 month ago (2012-11-16 17:26:17 UTC) #5
pauljensen
Could you please review my unittest changes?
8 years, 1 month ago (2012-11-21 18:11:25 UTC) #6
szym
https://codereview.chromium.org/11359141/diff/25001/net/base/address_tracker_linux_unittest.cc File net/base/address_tracker_linux_unittest.cc (right): https://codereview.chromium.org/11359141/diff/25001/net/base/address_tracker_linux_unittest.cc#newcode24 net/base/address_tracker_linux_unittest.cc:24: char* buf, size_t length, bool* address_changed, bool* link_changed) { ...
8 years, 1 month ago (2012-11-21 20:14:10 UTC) #7
pauljensen
I addressed your comments. The test code is half as big now :) Care to ...
8 years ago (2012-11-26 17:15:30 UTC) #8
szym
This already LGTM, so you are just humoring me :) https://codereview.chromium.org/11359141/diff/23012/net/base/address_tracker_linux_unittest.cc File net/base/address_tracker_linux_unittest.cc (right): https://codereview.chromium.org/11359141/diff/23012/net/base/address_tracker_linux_unittest.cc#newcode155 ...
8 years ago (2012-11-26 17:34:20 UTC) #9
pauljensen
Brett, could you review base/threading/thread_restrictions.h? I essentially moved the code from one class to another ...
8 years ago (2012-11-26 23:00:10 UTC) #10
brettw
base lgtm
8 years ago (2012-11-26 23:37:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pauljensen@chromium.org/11359141/19015
8 years ago (2012-11-29 14:01:39 UTC) #12
commit-bot: I haz the power
8 years ago (2012-11-29 17:11:57 UTC) #13
Message was sent while issue was closed.
Change committed as 170211

Powered by Google App Engine
This is Rietveld 408576698