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

Issue 14729017: Add NetworkHandler to own network handlers in src/chromeos/network (Closed)

Created:
7 years, 7 months ago by stevenjb
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, jam, gspencer+watch_chromium.org, tbarzic+watch_chromium.org, gauravsh+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add NetworkHandler to own network handlers in src/chromeos/network This is just some code cleanup and should have no behavior changes. BUG=239073 For webui/chromeos, browser/geolocation: TBR=nkostylev@chromium.org,joth@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202609

Patch Set 1 #

Patch Set 2 : . #

Total comments: 27

Patch Set 3 : Remove test handlers #

Patch Set 4 : Replace use of globals with explicit dependencies. #

Patch Set 5 : Rebase + Add NetworkConnectionHandler to NetworkHandler #

Total comments: 1

Patch Set 6 : Rebase + elim LoginState dependency #

Total comments: 1

Patch Set 7 : Rebase #

Patch Set 8 : Fix clang error #

Patch Set 9 : Fix ash_unittests error #

Patch Set 10 : Fix unit_tests error #

Patch Set 11 : Fix NetworkConfigurationHandler #

Patch Set 12 : Fix unit_tests #

Patch Set 13 : Fix NetworkProfileHandler #

Patch Set 14 : Fix chromeos_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -557 lines) Patch
M ash/system/chromeos/network/network_icon.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 1 2 3 4 5 14 chunks +19 lines, -17 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier.cc View 1 2 3 4 5 5 chunks +6 lines, -8 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -4 lines 0 comments Download
M ash/system/chromeos/network/tray_network.cc View 1 2 3 4 5 9 chunks +11 lines, -9 lines 0 comments Download
M ash/system/chromeos/network/tray_network_state_observer.cc View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M ash/system/chromeos/network/tray_vpn.cc View 1 2 3 4 5 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 4 chunks +6 lines, -29 lines 0 comments Download
M chrome/browser/chromeos/cros/cert_library.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_base.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library_impl_cros.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/networking_private_api.cc View 1 2 3 4 5 9 chunks +18 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/extensions/networking_private_event_router.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/imageburner/burn_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/imageburner/burn_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/net/connectivity_state_helper.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_impl.cc View 1 2 3 4 5 6 7 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/network_login_observer.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/network_configuration_updater_impl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/network_configuration_updater_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/about_network.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_state_informer.cc View 1 2 3 4 5 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 4 chunks +8 lines, -8 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/network/cert_loader.h View 1 2 3 4 5 3 chunks +3 lines, -6 lines 0 comments Download
M chromeos/network/cert_loader.cc View 1 2 3 4 5 6 4 chunks +9 lines, -31 lines 0 comments Download
M chromeos/network/geolocation_handler.h View 3 chunks +3 lines, -5 lines 0 comments Download
M chromeos/network/geolocation_handler.cc View 2 chunks +0 lines, -23 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.h View 1 2 3 4 6 chunks +21 lines, -17 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 chunks +35 lines, -56 lines 0 comments Download
M chromeos/network/managed_network_configuration_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +50 lines, -10 lines 0 comments Download
M chromeos/network/network_change_notifier_chromeos.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M chromeos/network/network_configuration_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +23 lines, -12 lines 0 comments Download
M chromeos/network/network_configuration_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +32 lines, -38 lines 0 comments Download
M chromeos/network/network_configuration_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +16 lines, -13 lines 0 comments Download
M chromeos/network/network_connection_handler.h View 1 2 3 4 5 4 chunks +12 lines, -9 lines 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 2 3 4 5 7 chunks +15 lines, -28 lines 0 comments Download
M chromeos/network/network_connection_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +15 lines, -8 lines 0 comments Download
A chromeos/network/network_handler.h View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download
A chromeos/network/network_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +109 lines, -0 lines 0 comments Download
M chromeos/network/network_profile_handler.h View 1 2 3 3 chunks +3 lines, -16 lines 0 comments Download
M chromeos/network/network_profile_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +10 lines, -45 lines 0 comments Download
D chromeos/network/network_profile_handler_stub.h View 1 chunk +0 lines, -22 lines 0 comments Download
M chromeos/network/network_state_handler.h View 1 2 3 4 5 6 4 chunks +6 lines, -13 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 1 2 3 4 5 6 2 chunks +4 lines, -25 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_chromeos.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
stevenjb
7 years, 7 months ago (2013-05-11 00:19:48 UTC) #1
pneubeck (no reviews)
Most files miss the include of network_handler.h. https://codereview.chromium.org/14729017/diff/3001/chrome/browser/chromeos/policy/network_configuration_updater_impl.cc File chrome/browser/chromeos/policy/network_configuration_updater_impl.cc (left): https://codereview.chromium.org/14729017/diff/3001/chrome/browser/chromeos/policy/network_configuration_updater_impl.cc#oldcode24 chrome/browser/chromeos/policy/network_configuration_updater_impl.cc:24: chromeos::ManagedNetworkConfigurationHandler* network_config_handler, ...
7 years, 7 months ago (2013-05-13 09:17:06 UTC) #2
gauravsh
https://codereview.chromium.org/14729017/diff/3001/chromeos/network/managed_network_configuration_handler_unittest.cc File chromeos/network/managed_network_configuration_handler_unittest.cc (right): https://codereview.chromium.org/14729017/diff/3001/chromeos/network/managed_network_configuration_handler_unittest.cc#newcode166 chromeos/network/managed_network_configuration_handler_unittest.cc:166: NetworkHandler::Initialize(); On 2013/05/13 09:17:06, pneubeck wrote: > This is ...
7 years, 7 months ago (2013-05-13 23:30:11 UTC) #3
stevenjb
I specifically included network_handler.h in each *_handler.h to avoid requiring two includes for every file ...
7 years, 7 months ago (2013-05-13 23:49:34 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/14729017/diff/3001/chromeos/network/network_handler.h File chromeos/network/network_handler.h (right): https://codereview.chromium.org/14729017/diff/3001/chromeos/network/network_handler.h#newcode38 chromeos/network/network_handler.h:38: NetworkStateHandler* network_state_handler(); On 2013/05/13 23:49:35, stevenjb (chromium) wrote: > ...
7 years, 7 months ago (2013-05-22 14:02:53 UTC) #5
pneubeck (no reviews)
On 2013/05/13 23:49:34, stevenjb (chromium) wrote: > I specifically included network_handler.h in each *_handler.h to ...
7 years, 7 months ago (2013-05-22 15:28:08 UTC) #6
stevenjb
On 2013/05/22 15:28:08, pneubeck wrote: > On 2013/05/13 23:49:34, stevenjb (chromium) wrote: > > I ...
7 years, 7 months ago (2013-05-22 16:35:10 UTC) #7
stevenjb
PTAL https://codereview.chromium.org/14729017/diff/3001/chromeos/network/network_handler.h File chromeos/network/network_handler.h (right): https://codereview.chromium.org/14729017/diff/3001/chromeos/network/network_handler.h#newcode38 chromeos/network/network_handler.h:38: NetworkStateHandler* network_state_handler(); On 2013/05/22 14:02:53, pneubeck wrote: > ...
7 years, 7 months ago (2013-05-22 17:09:27 UTC) #8
Greg Spencer (Chromium)
LGTM
7 years, 7 months ago (2013-05-22 22:25:52 UTC) #9
pneubeck (no reviews)
On 2013/05/22 16:35:10, stevenjb (chromium) wrote: > So, that's a very lengthy comment. I just ...
7 years, 7 months ago (2013-05-23 08:26:33 UTC) #10
stevenjb
On Thu, May 23, 2013 at 2:26 AM, <pneubeck@chromium.org> wrote: > On 2013/05/22 16:35:10, stevenjb ...
7 years, 7 months ago (2013-05-23 16:18:14 UTC) #11
pneubeck (no reviews)
I think I brought up the most important arguments from my side. From the functional ...
7 years, 7 months ago (2013-05-24 12:08:35 UTC) #12
stevenjb
On Fri, May 24, 2013 at 6:08 AM, <pneubeck@chromium.org> wrote: > I think I brought ...
7 years, 7 months ago (2013-05-24 16:19:27 UTC) #13
gauravsh
lgtm https://codereview.chromium.org/14729017/diff/58001/chromeos/network/network_handler.h File chromeos/network/network_handler.h (right): https://codereview.chromium.org/14729017/diff/58001/chromeos/network/network_handler.h#newcode23 chromeos/network/network_handler.h:23: // This clas should NOT be used in ...
7 years, 7 months ago (2013-05-24 17:20:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14729017/81001
7 years, 7 months ago (2013-05-24 17:31:03 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=4876
7 years, 7 months ago (2013-05-24 17:40:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14729017/81001
7 years, 7 months ago (2013-05-24 17:53:07 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-24 18:13:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14729017/118001
7 years, 6 months ago (2013-05-28 16:19:39 UTC) #19
commit-bot: I haz the power
7 years, 6 months ago (2013-05-28 18:33:34 UTC) #20
Message was sent while issue was closed.
Change committed as 202609

Powered by Google App Engine
This is Rietveld 408576698