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

Issue 673713003: Create a NetworkConnect class and Delegate (Closed)

Created:
6 years, 2 months ago by stevenjb
Modified:
6 years, 1 month ago
Reviewers:
armansito, oshima, tbarzic
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Create a NetworkConnect class and Delegate This is in preparation for moving NetworkConnect and NetworkStateNotifier from ash to ui/chromeos. BUG=425996 Committed: https://crrev.com/6d99f5fd5afbe29b979d8b153d89daa1ead8542e Cr-Commit-Position: refs/heads/master@{#301387}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : Fix typo #

Total comments: 11

Patch Set 5 : Address feedback #

Patch Set 6 : Rebase #

Patch Set 7 : More virtual fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+857 lines, -651 lines) Patch
M ash/system/chromeos/network/network_connect.h View 1 1 chunk +79 lines, -39 lines 0 comments Download
M ash/system/chromeos/network/network_connect.cc View 1 2 3 4 5 17 chunks +237 lines, -173 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier.h View 1 2 3 4 chunks +17 lines, -1 line 0 comments Download
M ash/system/chromeos/network/network_state_notifier.cc View 1 2 3 14 chunks +82 lines, -48 lines 0 comments Download
M ash/system/chromeos/network/network_state_notifier_unittest.cc View 1 2 4 chunks +38 lines, -15 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.h View 1 2 3 4 1 chunk +65 lines, -71 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 chunk +0 lines, -14 lines 0 comments Download
M ash/system/tray/system_tray_notifier.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/system/tray/system_tray_notifier.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M ash/test/test_system_tray_delegate.h View 1 2 3 4 2 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/mobile/mobile_activator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 2 3 4 5 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/options/wimax_config_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/data_promo_notification.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/browser/ui/ash/network_connect_delegate_chromeos.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/network_connect_delegate_chromeos.cc View 1 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 4 4 chunks +101 lines, -110 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 5 chunks +0 lines, -23 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_common.h View 1 2 3 4 5 6 2 chunks +68 lines, -75 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_common.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
stevenjb
There shouldn't be any functional changes here, just some re-factoring and cleanup.
6 years, 2 months ago (2014-10-23 01:38:21 UTC) #2
stevenjb
Also, note: one of the reasons I am making NetworkConnect a class (beyond tracking the ...
6 years, 2 months ago (2014-10-23 01:40:52 UTC) #3
armansito
lgtm with nits https://codereview.chromium.org/673713003/diff/40001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/673713003/diff/40001/ash/system/chromeos/network/network_connect.cc#oldcode9 ash/system/chromeos/network/network_connect.cc:9: #include "ash/system/chromeos/network/network_state_notifier.h" So I guess you ...
6 years, 2 months ago (2014-10-24 20:02:22 UTC) #4
armansito
lgtm with nits
6 years, 2 months ago (2014-10-24 20:02:23 UTC) #5
stevenjb
+osima@ for c/b/ui/ash OWNER https://codereview.chromium.org/673713003/diff/40001/ash/system/chromeos/network/network_connect.cc File ash/system/chromeos/network/network_connect.cc (left): https://codereview.chromium.org/673713003/diff/40001/ash/system/chromeos/network/network_connect.cc#oldcode9 ash/system/chromeos/network/network_connect.cc:9: #include "ash/system/chromeos/network/network_state_notifier.h" On 2014/10/24 20:02:21, ...
6 years, 2 months ago (2014-10-24 23:01:50 UTC) #7
oshima
c/b/ui/ash lgtm with nits https://codereview.chromium.org/673713003/diff/60001/chrome/browser/ui/ash/network_connect_delegate_chromeos.cc File chrome/browser/ui/ash/network_connect_delegate_chromeos.cc (right): https://codereview.chromium.org/673713003/diff/60001/chrome/browser/ui/ash/network_connect_delegate_chromeos.cc#newcode24 chrome/browser/ui/ash/network_connect_delegate_chromeos.cc:24: gfx::NativeWindow GetNativeWindow() { aura::Window if ...
6 years, 2 months ago (2014-10-24 23:14:20 UTC) #8
tbarzic
lgtm
6 years, 2 months ago (2014-10-25 00:35:58 UTC) #9
tbarzic
lgtm
6 years, 2 months ago (2014-10-25 00:35:58 UTC) #10
stevenjb
https://codereview.chromium.org/673713003/diff/60001/chrome/browser/ui/ash/network_connect_delegate_chromeos.cc File chrome/browser/ui/ash/network_connect_delegate_chromeos.cc (right): https://codereview.chromium.org/673713003/diff/60001/chrome/browser/ui/ash/network_connect_delegate_chromeos.cc#newcode55 chrome/browser/ui/ash/network_connect_delegate_chromeos.cc:55: if (!IsUIAvailable()) On 2014/10/24 23:14:20, oshima wrote: > if ...
6 years, 1 month ago (2014-10-27 16:25:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/673713003/120001
6 years, 1 month ago (2014-10-27 16:25:18 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years, 1 month ago (2014-10-27 17:15:14 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 17:16:00 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6d99f5fd5afbe29b979d8b153d89daa1ead8542e
Cr-Commit-Position: refs/heads/master@{#301387}

Powered by Google App Engine
This is Rietveld 408576698