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

Issue 12634019: NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network (Closed)

Created:
7 years, 9 months ago by gauravsh
Modified:
7 years, 8 months ago
CC:
chromium-reviews, gauravsh+watch_chromium.org, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network BUG=164501 TEST=verify that dns refreshes while in connected state result in a dns change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191929

Patch Set 1 : . #

Patch Set 2 : Add unit test for IPConfig #

Patch Set 3 : more cleanup #

Total comments: 18

Patch Set 4 : address review comments #

Patch Set 5 : AddServiceWithIPConfig #

Total comments: 40

Patch Set 6 : pneubeck comments #

Patch Set 7 : #

Total comments: 13

Patch Set 8 : Address review comments #

Total comments: 9

Patch Set 9 : review #

Total comments: 6

Patch Set 10 : make nested dict #

Patch Set 11 : add helper #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -157 lines) Patch
M chromeos/dbus/shill_ipconfig_client_stub.h View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M chromeos/dbus/shill_ipconfig_client_stub.cc View 1 2 3 4 5 6 7 3 chunks +22 lines, -4 lines 0 comments Download
M chromeos/dbus/shill_manager_client_stub.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/shill_manager_client_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -1 line 0 comments Download
M chromeos/dbus/shill_service_client.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_service_client_stub.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/dbus/shill_service_client_stub.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M chromeos/network/network_change_notifier_chromeos.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/network_change_notifier_chromeos.cc View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -8 lines 0 comments Download
M chromeos/network/network_change_notifier_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +132 lines, -91 lines 0 comments Download
M chromeos/network/network_state.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +16 lines, -1 line 0 comments Download
M chromeos/network/network_state.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +39 lines, -0 lines 0 comments Download
M chromeos/network/network_state_handler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -5 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -12 lines 0 comments Download
M chromeos/network/network_state_handler_observer.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chromeos/network/network_state_handler_unittest.cc View 1 2 3 4 5 chunks +27 lines, -1 line 0 comments Download
M chromeos/network/shill_property_handler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -6 lines 0 comments Download
M chromeos/network/shill_property_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +21 lines, -6 lines 0 comments Download
M chromeos/network/shill_property_handler_unittest.cc View 1 2 3 4 10 chunks +67 lines, -16 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
gauravsh
7 years, 9 months ago (2013-03-27 00:34:07 UTC) #1
stevenjb
https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h File chromeos/dbus/shill_service_client.h (right): https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h#newcode51 chromeos/dbus/shill_service_client.h:51: const std::string& ipconfig_path, Do we really want to add ...
7 years, 9 months ago (2013-03-27 22:18:51 UTC) #2
gauravsh
https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h File chromeos/dbus/shill_service_client.h (right): https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h#newcode51 chromeos/dbus/shill_service_client.h:51: const std::string& ipconfig_path, On 2013/03/27 22:18:52, stevenjb (chromium) wrote: ...
7 years, 9 months ago (2013-03-27 23:16:03 UTC) #3
stevenjb
https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h File chromeos/dbus/shill_service_client.h (right): https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h#newcode51 chromeos/dbus/shill_service_client.h:51: const std::string& ipconfig_path, On 2013/03/27 23:16:04, gauravsh wrote: > ...
7 years, 9 months ago (2013-03-27 23:55:10 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h File chromeos/dbus/shill_service_client.h (right): https://codereview.chromium.org/12634019/diff/5002/chromeos/dbus/shill_service_client.h#newcode51 chromeos/dbus/shill_service_client.h:51: const std::string& ipconfig_path, On 2013/03/27 23:55:10, stevenjb (chromium) wrote: ...
7 years, 9 months ago (2013-03-28 10:37:54 UTC) #5
gauravsh
https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc File chromeos/dbus/shill_ipconfig_client_stub.cc (right): https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc#newcode70 chromeos/dbus/shill_ipconfig_client_stub.cc:70: if (!stub_ipconfig_.GetDictionaryWithoutPathExpansion(ipconfig_path.value(), On 2013/03/28 10:37:54, pneubeck wrote: > swap ...
7 years, 9 months ago (2013-03-28 18:48:54 UTC) #6
stevenjb
https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc File chromeos/dbus/shill_ipconfig_client_stub.cc (right): https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc#newcode70 chromeos/dbus/shill_ipconfig_client_stub.cc:70: if (!stub_ipconfig_.GetDictionaryWithoutPathExpansion(ipconfig_path.value(), On 2013/03/28 18:48:54, gauravsh wrote: > On ...
7 years, 9 months ago (2013-03-28 19:27:13 UTC) #7
gauravsh
https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc File chromeos/dbus/shill_ipconfig_client_stub.cc (right): https://codereview.chromium.org/12634019/diff/36021/chromeos/dbus/shill_ipconfig_client_stub.cc#newcode70 chromeos/dbus/shill_ipconfig_client_stub.cc:70: if (!stub_ipconfig_.GetDictionaryWithoutPathExpansion(ipconfig_path.value(), On 2013/03/28 19:27:13, stevenjb (chromium) wrote: > ...
7 years, 9 months ago (2013-03-28 19:54:23 UTC) #8
stevenjb
https://codereview.chromium.org/12634019/diff/52002/chromeos/dbus/shill_ipconfig_client_stub.cc File chromeos/dbus/shill_ipconfig_client_stub.cc (right): https://codereview.chromium.org/12634019/diff/52002/chromeos/dbus/shill_ipconfig_client_stub.cc#newcode48 chromeos/dbus/shill_ipconfig_client_stub.cc:48: &dict)) nit: align https://codereview.chromium.org/12634019/diff/52002/chromeos/network/network_change_notifier_chromeos_unittest.cc File chromeos/network/network_change_notifier_chromeos_unittest.cc (right): https://codereview.chromium.org/12634019/diff/52002/chromeos/network/network_change_notifier_chromeos_unittest.cc#newcode159 chromeos/network/network_change_notifier_chromeos_unittest.cc:159: ...
7 years, 9 months ago (2013-03-28 20:30:58 UTC) #9
gauravsh
https://codereview.chromium.org/12634019/diff/52002/chromeos/dbus/shill_ipconfig_client_stub.cc File chromeos/dbus/shill_ipconfig_client_stub.cc (right): https://codereview.chromium.org/12634019/diff/52002/chromeos/dbus/shill_ipconfig_client_stub.cc#newcode48 chromeos/dbus/shill_ipconfig_client_stub.cc:48: &dict)) On 2013/03/28 20:30:58, stevenjb (chromium) wrote: > nit: ...
7 years, 9 months ago (2013-03-29 00:02:10 UTC) #10
stevenjb
Looking good thanks, just a few more comments. https://codereview.chromium.org/12634019/diff/52002/chromeos/network/network_change_notifier_chromeos_unittest.cc File chromeos/network/network_change_notifier_chromeos_unittest.cc (right): https://codereview.chromium.org/12634019/diff/52002/chromeos/network/network_change_notifier_chromeos_unittest.cc#newcode159 chromeos/network/network_change_notifier_chromeos_unittest.cc:159: NotifierUpdateTestCase ...
7 years, 9 months ago (2013-03-29 00:21:36 UTC) #11
gauravsh
https://codereview.chromium.org/12634019/diff/71001/chromeos/network/network_change_notifier_chromeos.cc File chromeos/network/network_change_notifier_chromeos.cc (right): https://codereview.chromium.org/12634019/diff/71001/chromeos/network/network_change_notifier_chromeos.cc#newcode156 chromeos/network/network_change_notifier_chromeos.cc:156: VLOG(1) << default_network->dns_servers()[i] << ","; On 2013/03/29 00:21:36, stevenjb ...
7 years, 9 months ago (2013-03-29 00:41:50 UTC) #12
stevenjb
LGTM https://codereview.chromium.org/12634019/diff/88001/chromeos/network/network_state.cc File chromeos/network/network_state.cc (right): https://codereview.chromium.org/12634019/diff/88001/chromeos/network/network_state.cc#newcode89 chromeos/network/network_state.cc:89: value); nit: one line?
7 years, 9 months ago (2013-03-29 00:52:10 UTC) #13
pneubeck (no reviews)
https://codereview.chromium.org/12634019/diff/36021/chromeos/network/shill_property_handler.cc File chromeos/network/shill_property_handler.cc (right): https://codereview.chromium.org/12634019/diff/36021/chromeos/network/shill_property_handler.cc#newcode441 chromeos/network/shill_property_handler.cc:441: flimflam::kAddressProperty, This comment was based on the proposed changes ...
7 years, 8 months ago (2013-03-29 19:16:52 UTC) #14
stevenjb
https://codereview.chromium.org/12634019/diff/36021/chromeos/network/shill_property_handler.cc File chromeos/network/shill_property_handler.cc (right): https://codereview.chromium.org/12634019/diff/36021/chromeos/network/shill_property_handler.cc#newcode441 chromeos/network/shill_property_handler.cc:441: flimflam::kAddressProperty, On 2013/03/29 19:16:52, pneubeck wrote: > This comment ...
7 years, 8 months ago (2013-03-29 19:41:25 UTC) #15
gauravsh
Thanks for the feedback Phillip. The new patch goes the nested dictionary route as you ...
7 years, 8 months ago (2013-04-01 20:02:06 UTC) #16
stevenjb
On 2013/04/01 20:02:06, gauravsh wrote: > Thanks for the feedback Phillip. The new patch goes ...
7 years, 8 months ago (2013-04-01 20:28:37 UTC) #17
pneubeck (no reviews)
LGTM, thanks!
7 years, 8 months ago (2013-04-02 08:20:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gauravsh@chromium.org/12634019/118001
7 years, 8 months ago (2013-04-02 19:52:55 UTC) #19
commit-bot: I haz the power
7 years, 8 months ago (2013-04-02 23:24:30 UTC) #20
Message was sent while issue was closed.
Change committed as 191929

Powered by Google App Engine
This is Rietveld 408576698