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

Issue 1037693005: Don't check connectivity if network is offline. (Closed)

Created:
5 years, 9 months ago by byungchul
Modified:
5 years, 9 months ago
Reviewers:
lcwu1, derekjchow1, gunsch
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't check connectivity if network is offline. Some netifs could be ignored by command line flag, --netifs-to-ignore, and internet could be accessible via those netifs. Many testing scripts and developers set this for ethernet link and use ethernet to get testing results. BUG=internal b/19593970 Committed: https://crrev.com/39d09da9ea1c6dbf3529b4febe4277db104a135f Cr-Commit-Position: refs/heads/master@{#322288}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chromecast/net/connectivity_checker.cc View 1 chunk +5 lines, -0 lines 3 comments Download

Messages

Total messages: 12 (4 generated)
byungchul
5 years, 9 months ago (2015-03-25 22:17:20 UTC) #2
gunsch
lgtm
5 years, 9 months ago (2015-03-25 22:36:03 UTC) #3
derekjchow1
not lgtm https://codereview.chromium.org/1037693005/diff/1/chromecast/net/connectivity_checker.cc File chromecast/net/connectivity_checker.cc (right): https://codereview.chromium.org/1037693005/diff/1/chromecast/net/connectivity_checker.cc#newcode110 chromecast/net/connectivity_checker.cc:110: if (net::NetworkChangeNotifier::IsOffline()) I don't think we should ...
5 years, 9 months ago (2015-03-25 22:37:27 UTC) #6
byungchul
https://codereview.chromium.org/1037693005/diff/1/chromecast/net/connectivity_checker.cc File chromecast/net/connectivity_checker.cc (right): https://codereview.chromium.org/1037693005/diff/1/chromecast/net/connectivity_checker.cc#newcode110 chromecast/net/connectivity_checker.cc:110: if (net::NetworkChangeNotifier::IsOffline()) On 2015/03/25 22:37:26, derekjchow1 wrote: > I ...
5 years, 9 months ago (2015-03-25 22:44:40 UTC) #7
derekjchow1
Nevermind, we explicitly SetConnectivity to false in OnConnectionTypeChanged. lgtm
5 years, 9 months ago (2015-03-25 22:44:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1037693005/1
5 years, 9 months ago (2015-03-26 00:23:51 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-26 01:28:36 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 01:29:31 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/39d09da9ea1c6dbf3529b4febe4277db104a135f
Cr-Commit-Position: refs/heads/master@{#322288}

Powered by Google App Engine
This is Rietveld 408576698