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

Issue 873713004: Introduce NetworkState::is_captive_portal() (Closed)

Created:
5 years, 11 months ago by stevenjb
Modified:
5 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, dzhioev+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce NetworkState::is_captive_portal() For c/b/ui/webui/chromeos/login/network_state_informer.cc TBR=nkostylov@chromium.org BUG=450364 Committed: https://crrev.com/4262bb6a7dc62913cecba1e9b888fc000c96a507 Cr-Commit-Position: refs/heads/master@{#313311}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Feedback, unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -30 lines) Patch
M chrome/browser/chromeos/net/network_portal_detector_impl.cc View 5 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_state_informer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/network/network_state.h View 4 chunks +6 lines, -2 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 8 chunks +60 lines, -9 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 5 chunks +13 lines, -6 lines 0 comments Download
M chromeos/network/network_state_unittest.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
M chromeos/network/onc/onc_translator_shill_to_onc.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
stevenjb
Does this look remotely reasonable / correct?
5 years, 11 months ago (2015-01-24 00:14:48 UTC) #2
Paul Stewart
Looks reasonably correct. You could think about other bits of messaging you could send the ...
5 years, 11 months ago (2015-01-24 00:35:34 UTC) #3
pneubeck (no reviews)
lgtm after addressing the comments. https://codereview.chromium.org/873713004/diff/20001/chromeos/network/network_state.cc File chromeos/network/network_state.cc (right): https://codereview.chromium.org/873713004/diff/20001/chromeos/network/network_state.cc#newcode35 chromeos/network/network_state.cc:35: if (state == shill::kStatePortal) ...
5 years, 11 months ago (2015-01-24 10:06:57 UTC) #4
pneubeck (no reviews)
can you add a case to the unit test for this?
5 years, 11 months ago (2015-01-24 10:10:58 UTC) #5
stevenjb
Unit test added. PTAL https://codereview.chromium.org/873713004/diff/20001/chromeos/network/network_state.cc File chromeos/network/network_state.cc (right): https://codereview.chromium.org/873713004/diff/20001/chromeos/network/network_state.cc#newcode35 chromeos/network/network_state.cc:35: if (state == shill::kStatePortal) On ...
5 years, 10 months ago (2015-01-26 20:16:30 UTC) #6
pneubeck (no reviews)
lgtm
5 years, 10 months ago (2015-01-27 08:16:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/873713004/40001
5 years, 10 months ago (2015-01-27 16:53:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38602)
5 years, 10 months ago (2015-01-27 16:59:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/873713004/40001
5 years, 10 months ago (2015-01-27 17:39:42 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38601)
5 years, 10 months ago (2015-01-27 17:40:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/873713004/40001
5 years, 10 months ago (2015-01-27 18:23:00 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-01-27 18:25:19 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-01-27 18:27:25 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4262bb6a7dc62913cecba1e9b888fc000c96a507
Cr-Commit-Position: refs/heads/master@{#313311}

Powered by Google App Engine
This is Rietveld 408576698