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

Issue 2694923005: Appropriate handling for Cellular First devices. (Closed)

Created:
3 years, 10 months ago by kumarniranjan
Modified:
3 years, 9 months ago
Reviewers:
xiyuan, stevenjb
CC:
chromium-reviews, hashimoto+watch_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Appropriate handling for Cellular First devices. "Cellular First" devices rely on cellular telphone data networks as their primary means of connecting to the internet. Supplying the --cellular-first command line flag has two consequences: 1. Cellular data roaming will be enabled by default. 2. UpdateEngine will be instructed to allow updates over cellular connections. BUG=640721 TEST=browser test CQ-DEPEND=2729433004 Review-Url: https://codereview.chromium.org/2694923005 Cr-Commit-Position: refs/heads/master@{#454386} Committed: https://chromium.googlesource.com/chromium/src/+/b9afef64d11bfc58e7611620c528b2cb5f766748

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added fake implementation #

Patch Set 3 : now with tests #

Total comments: 8

Patch Set 4 : made some changes #

Total comments: 4

Patch Set 5 : made a couple of tweaks #

Total comments: 6

Patch Set 6 : changes regarding DEPS #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -69 lines) Patch
M chrome/browser/chromeos/login/wizard_controller.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 1 chunk +15 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/wizard_controller_browsertest.cc View 1 2 3 4 5 6 3 chunks +68 lines, -47 lines 0 comments Download
M chrome/browser/chromeos/policy/device_network_configuration_updater.cc View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/help/help_utils_chromeos.cc View 1 2 3 4 2 chunks +10 lines, -9 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 6 3 chunks +4 lines, -1 line 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 6 3 chunks +13 lines, -6 lines 0 comments Download
M chromeos/dbus/fake_update_engine_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_update_engine_client.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/dbus/update_engine_client.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chromeos/dbus/update_engine_client.cc View 1 2 3 4 5 3 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
xiyuan
The approach looks good. https://codereview.chromium.org/2694923005/diff/1/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2694923005/diff/1/chrome/browser/chromeos/login/wizard_controller.cc#newcode895 chrome/browser/chromeos/login/wizard_controller.cc:895: if (base::CommandLine::ForCurrentProcess()->HasSwitch( nit: Move this ...
3 years, 10 months ago (2017-02-14 17:06:10 UTC) #2
kumarniranjan
https://codereview.chromium.org/2694923005/diff/1/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2694923005/diff/1/chrome/browser/chromeos/login/wizard_controller.cc#newcode895 chrome/browser/chromeos/login/wizard_controller.cc:895: if (base::CommandLine::ForCurrentProcess()->HasSwitch( On 2017/02/14 17:06:10, xiyuan wrote: > nit: ...
3 years, 9 months ago (2017-02-28 19:01:39 UTC) #3
xiyuan
https://codereview.chromium.org/2694923005/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2694923005/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc#newcode187 chrome/browser/chromeos/login/wizard_controller.cc:187: bool IsCellularFirstDevice() { Maybe we should move this into ...
3 years, 9 months ago (2017-02-28 20:26:42 UTC) #4
kumarniranjan
https://codereview.chromium.org/2694923005/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/2694923005/diff/40001/chrome/browser/chromeos/login/wizard_controller.cc#newcode187 chrome/browser/chromeos/login/wizard_controller.cc:187: bool IsCellularFirstDevice() { On 2017/02/28 20:26:41, xiyuan wrote: > ...
3 years, 9 months ago (2017-02-28 21:49:34 UTC) #5
xiyuan
lgtm You still need owner review for //DEPS and //chromeos/* files. https://codereview.chromium.org/2694923005/diff/60001/chrome/browser/ui/webui/help/help_utils_chromeos.cc File chrome/browser/ui/webui/help/help_utils_chromeos.cc (right): ...
3 years, 9 months ago (2017-02-28 22:29:42 UTC) #6
kumarniranjan
https://codereview.chromium.org/2694923005/diff/60001/chrome/browser/ui/webui/help/help_utils_chromeos.cc File chrome/browser/ui/webui/help/help_utils_chromeos.cc (right): https://codereview.chromium.org/2694923005/diff/60001/chrome/browser/ui/webui/help/help_utils_chromeos.cc#newcode29 chrome/browser/ui/webui/help/help_utils_chromeos.cc:29: chromeos::switches::kCellularFirst); On 2017/02/28 22:29:42, xiyuan wrote: > nit: use ...
3 years, 9 months ago (2017-02-28 22:52:21 UTC) #8
kumarniranjan
3 years, 9 months ago (2017-03-01 22:01:13 UTC) #11
stevenjb
https://codereview.chromium.org/2694923005/diff/80001/DEPS File DEPS (right): https://codereview.chromium.org/2694923005/diff/80001/DEPS#newcode407 DEPS:407: Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'c08ae470458b06cf23c1907817490d2fc917ac29', Please make ...
3 years, 9 months ago (2017-03-01 23:11:56 UTC) #12
kumarniranjan
https://codereview.chromium.org/2694923005/diff/80001/DEPS File DEPS (right): https://codereview.chromium.org/2694923005/diff/80001/DEPS#newcode407 DEPS:407: Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'c08ae470458b06cf23c1907817490d2fc917ac29', On 2017/03/01 ...
3 years, 9 months ago (2017-03-02 00:29:34 UTC) #15
stevenjb
lgtm
3 years, 9 months ago (2017-03-02 00:30:49 UTC) #16
kumarniranjan
On 2017/03/02 00:30:49, stevenjb wrote: > lgtm Steven, I added you as a reviewer since ...
3 years, 9 months ago (2017-03-02 17:58:40 UTC) #19
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/2694923005/100001
3 years, 9 months ago (2017-03-02 18:36:17 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/163694) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 9 months ago (2017-03-02 18:38:55 UTC) #24
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/2694923005/120001
3 years, 9 months ago (2017-03-02 20:59:29 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 21:43:19 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/b9afef64d11bfc58e7611620c528...

Powered by Google App Engine
This is Rietveld 408576698