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

Issue 330833003: Rely on Service.Visible instead of Manager.Services (Closed)

Created:
6 years, 6 months ago by stevenjb
Modified:
6 years, 6 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Rely on Service.Visible instead of Manager.Services With this change we rely on Service.Visible and only use Manager.Services to determine which services to observe. BUG=384380 R=pneubeck@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278594

Patch Set 1 #

Total comments: 16

Patch Set 2 : Sort services when updated, add test #

Total comments: 3

Patch Set 3 : Remove sorting on update, fix FirstNetwork #

Patch Set 4 : Sort on demand if necessary #

Total comments: 9

Patch Set 5 : Feedback #

Patch Set 6 : Fix stubs for tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -189 lines) Patch
M chromeos/dbus/fake_shill_manager_client.h View 1 2 3 4 5 3 chunks +3 lines, -4 lines 0 comments Download
M chromeos/dbus/fake_shill_manager_client.cc View 1 2 3 4 5 9 chunks +46 lines, -36 lines 0 comments Download
M chromeos/dbus/fake_shill_profile_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_shill_service_client.h View 1 1 chunk +9 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_shill_service_client.cc View 1 4 chunks +36 lines, -20 lines 0 comments Download
M chromeos/dbus/shill_manager_client.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/shill_service_client.h View 1 1 chunk +11 lines, -2 lines 0 comments Download
M chromeos/network/network_state.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chromeos/network/network_state.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/network_state_handler.h View 1 2 3 4 8 chunks +25 lines, -13 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 1 2 3 4 15 chunks +81 lines, -54 lines 0 comments Download
M chromeos/network/network_state_handler_unittest.cc View 1 6 chunks +28 lines, -0 lines 0 comments Download
M chromeos/network/shill_property_handler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chromeos/network/shill_property_handler.cc View 4 chunks +6 lines, -35 lines 0 comments Download
M chromeos/network/shill_property_handler_unittest.cc View 8 chunks +10 lines, -16 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
stevenjb
6 years, 6 months ago (2014-06-13 20:28:34 UTC) #1
pneubeck (no reviews)
https://codereview.chromium.org/330833003/diff/1/chromeos/dbus/fake_shill_manager_client.h File chromeos/dbus/fake_shill_manager_client.h (right): https://codereview.chromium.org/330833003/diff/1/chromeos/dbus/fake_shill_manager_client.h#newcode111 chromeos/dbus/fake_shill_manager_client.h:111: void SortServiceList(const std::string& property); oops. This function isn't defined ...
6 years, 6 months ago (2014-06-16 14:38:16 UTC) #2
stevenjb
https://codereview.chromium.org/330833003/diff/1/chromeos/dbus/fake_shill_manager_client.h File chromeos/dbus/fake_shill_manager_client.h (right): https://codereview.chromium.org/330833003/diff/1/chromeos/dbus/fake_shill_manager_client.h#newcode111 chromeos/dbus/fake_shill_manager_client.h:111: void SortServiceList(const std::string& property); On 2014/06/16 14:38:15, pneubeck wrote: ...
6 years, 6 months ago (2014-06-16 19:54:49 UTC) #3
pneubeck (no reviews)
I have slight concerns about the regular sorting of the whole network list. If you're ...
6 years, 6 months ago (2014-06-17 15:30:33 UTC) #4
pneubeck (no reviews)
I have slight concerns about the regular sorting of the whole network list. If you're ...
6 years, 6 months ago (2014-06-17 15:30:33 UTC) #5
stevenjb
https://codereview.chromium.org/330833003/diff/20001/chromeos/network/network_state_handler.cc File chromeos/network/network_state_handler.cc (right): https://codereview.chromium.org/330833003/diff/20001/chromeos/network/network_state_handler.cc#newcode521 chromeos/network/network_state_handler.cc:521: SortNetworkList(); On 2014/06/17 15:30:33, pneubeck wrote: > Couldn't this ...
6 years, 6 months ago (2014-06-17 17:14:08 UTC) #6
stevenjb
PTAL
6 years, 6 months ago (2014-06-17 22:02:49 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc File chromeos/network/network_state_handler.cc (right): https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc#newcode224 chromeos/network/network_state_handler.cc:224: if (!network_list_sorted_) optional nit: you could move network_list_sorted_ into ...
6 years, 6 months ago (2014-06-18 09:45:49 UTC) #8
stevenjb
https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc File chromeos/network/network_state_handler.cc (right): https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc#newcode224 chromeos/network/network_state_handler.cc:224: if (!network_list_sorted_) On 2014/06/18 09:45:48, pneubeck wrote: > optional ...
6 years, 6 months ago (2014-06-18 22:33:26 UTC) #9
pneubeck (no reviews)
lgtm https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc File chromeos/network/network_state_handler.cc (right): https://codereview.chromium.org/330833003/diff/80001/chromeos/network/network_state_handler.cc#newcode224 chromeos/network/network_state_handler.cc:224: if (!network_list_sorted_) On 2014/06/18 22:33:26, stevenjb wrote: > ...
6 years, 6 months ago (2014-06-18 22:35:29 UTC) #10
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 6 months ago (2014-06-18 22:36:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/330833003/100001
6 years, 6 months ago (2014-06-18 22:37:26 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 07:48:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/39376)
6 years, 6 months ago (2014-06-19 07:48:37 UTC) #14
stevenjb
6 years, 6 months ago (2014-06-20 04:40:44 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 manually as r278594 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698