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

Issue 2434683003: Move NetworkStateNotifier and NetworkConnect from src/ui (Closed)

Created:
4 years, 2 months ago by stevenjb
Modified:
4 years, 2 months ago
CC:
cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, kalyank, michaelpg+watch-options_chromium.org, oshima+watch_chromium.org, sadrul, stevenjb+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move NetworkStateNotifier and NetworkConnect from src/ui This moves: NetworkConnect -> src/chromeos NetworkStateNotifier -> chrome/browser/chromeos/net It also moves the following from chrome/browser/ui/ash to keep all network UI code in the same place: NetwrokConnectDelegateChromeos -> chrome/browser/chromeos/net All UI code in NetworkConnect has been moved to NetworkConnect::Delegate. BUG=657127 Committed: https://crrev.com/7f42fb3550ed2e094542944712c7350736bc1b1a Cr-Commit-Position: refs/heads/master@{#426908}

Patch Set 1 #

Total comments: 32

Patch Set 2 : Feedback #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : export NetworkConnect::Delegate #

Patch Set 6 : Fix unit test #

Patch Set 7 : Fix virtuals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -2035 lines) Patch
M ash/common/system/chromeos/network/network_state_list_detailed_view.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M ash/common/system/system_notifier.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download
M ash/mus/network_connect_delegate_mus.h View 1 chunk +7 lines, -4 lines 0 comments Download
M ash/mus/network_connect_delegate_mus.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/app/chromeos_strings.grdp View 1 2 2 chunks +118 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/mobile/mobile_activator.cc View 1 3 chunks +2 lines, -2 lines 0 comments Download
A + chrome/browser/chromeos/net/network_connect_delegate_chromeos.h View 1 2 chunks +13 lines, -5 lines 0 comments Download
A + chrome/browser/chromeos/net/network_connect_delegate_chromeos.cc View 1 2 3 3 chunks +15 lines, -2 lines 0 comments Download
A + chrome/browser/chromeos/net/network_state_notifier.h View 7 chunks +18 lines, -28 lines 0 comments Download
A + chrome/browser/chromeos/net/network_state_notifier.cc View 14 chunks +40 lines, -48 lines 0 comments Download
A + chrome/browser/chromeos/net/network_state_notifier_unittest.cc View 1 2 3 4 5 7 chunks +20 lines, -14 lines 0 comments Download
A chrome/browser/chromeos/net/shill_error.h View 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/net/shill_error.cc View 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.cc View 1 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/options/wimax_config_view.cc View 1 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/status/data_promo_notification.cc View 7 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/status/data_promo_notification_unittest.cc View 5 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_ui_delegate_chromeos.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/ui/ash/network_connect_delegate_chromeos.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/ui/ash/network_connect_delegate_chromeos.cc View 1 2 3 1 chunk +0 lines, -71 lines 0 comments Download
M chrome/browser/ui/ash/vpn_delegate_chromeos.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chromeos/chromeos.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A + chromeos/network/network_connect.h View 1 2 3 4 5 6 5 chunks +19 lines, -21 lines 0 comments Download
A + chromeos/network/network_connect.cc View 1 18 chunks +38 lines, -144 lines 0 comments Download
M chromeos/network/network_connection_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 chunk +1 line, -1 line 0 comments Download
M ui/chromeos/BUILD.gn View 3 chunks +0 lines, -5 lines 0 comments Download
D ui/chromeos/network/network_connect.h View 1 chunk +0 lines, -123 lines 0 comments Download
D ui/chromeos/network/network_connect.cc View 1 chunk +0 lines, -661 lines 0 comments Download
D ui/chromeos/network/network_state_notifier.h View 1 chunk +0 lines, -120 lines 0 comments Download
D ui/chromeos/network/network_state_notifier.cc View 1 chunk +0 lines, -457 lines 0 comments Download
D ui/chromeos/network/network_state_notifier_unittest.cc View 1 chunk +0 lines, -118 lines 0 comments Download
M ui/chromeos/ui_chromeos_strings.grd View 1 chunk +0 lines, -119 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
stevenjb
4 years, 2 months ago (2016-10-19 20:25:30 UTC) #2
James Cook
I like it. Mostly little things. https://codereview.chromium.org/2434683003/diff/1/ash/common/system/system_notifier.cc File ash/common/system/system_notifier.cc (right): https://codereview.chromium.org/2434683003/diff/1/ash/common/system/system_notifier.cc#newcode74 ash/common/system/system_notifier.cc:74: const char kNotifierNetwork[] ...
4 years, 2 months ago (2016-10-20 00:11:43 UTC) #3
stevenjb
+flackr@chromium.org for tools/gritsettings/resource_ids PTAL https://codereview.chromium.org/2434683003/diff/1/ash/common/system/system_notifier.cc File ash/common/system/system_notifier.cc (right): https://codereview.chromium.org/2434683003/diff/1/ash/common/system/system_notifier.cc#newcode74 ash/common/system/system_notifier.cc:74: const char kNotifierNetwork[] = "ui.chromeos.network"; ...
4 years, 2 months ago (2016-10-20 00:57:23 UTC) #5
flackr
tools/gritsettings/resource_ids lgtm
4 years, 2 months ago (2016-10-20 01:04:28 UTC) #6
James Cook
LGTM. Thanks for cleaning this up. https://codereview.chromium.org/2434683003/diff/1/chrome/browser/chromeos/net/shill_error.cc File chrome/browser/chromeos/net/shill_error.cc (right): https://codereview.chromium.org/2434683003/diff/1/chrome/browser/chromeos/net/shill_error.cc#newcode46 chrome/browser/chromeos/net/shill_error.cc:46: return l10n_util::GetStringUTF16( On ...
4 years, 2 months ago (2016-10-20 15:48:42 UTC) #7
stevenjb
https://codereview.chromium.org/2434683003/diff/1/chrome/browser/chromeos/net/shill_error.cc File chrome/browser/chromeos/net/shill_error.cc (right): https://codereview.chromium.org/2434683003/diff/1/chrome/browser/chromeos/net/shill_error.cc#newcode46 chrome/browser/chromeos/net/shill_error.cc:46: return l10n_util::GetStringUTF16( On 2016/10/20 15:48:41, James Cook wrote: > ...
4 years, 2 months ago (2016-10-20 17:16:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434683003/60001
4 years, 2 months ago (2016-10-20 22:18:17 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/284072)
4 years, 2 months ago (2016-10-21 00:04:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434683003/80001
4 years, 2 months ago (2016-10-21 01:16:23 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/284241)
4 years, 2 months ago (2016-10-21 02:47:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434683003/100001
4 years, 2 months ago (2016-10-21 16:58:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2434683003/120001
4 years, 2 months ago (2016-10-21 18:29:05 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-21 22:00:41 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 22:02:54 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7f42fb3550ed2e094542944712c7350736bc1b1a
Cr-Commit-Position: refs/heads/master@{#426908}

Powered by Google App Engine
This is Rietveld 408576698