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

Issue 1722453002: Extend vpnProvider to allow reconnections (Closed)

Created:
4 years, 10 months ago by Kevin Cernekee
Modified:
4 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, hashimoto+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extend vpnProvider to allow reconnections Upcoming changes in the Chrome OS networking daemon (shill) will allow third party VPNs to transition "backwards" from Online->Configuring if the default physical connection changes. Add a "reconnect" flag so that VPN apps can signal their compatibility with this new scheme, and add the necessary UI changes so that Chrome can identify reconnections and present them to the user in a sensible way. Also, change the UI so that users can cancel VPN reconnections (and connections) using the "Disconnect" button. BUG=514343 Committed: https://crrev.com/7288268a683040968054a3dcfedef28d9151bc1d Cr-Commit-Position: refs/heads/master@{#381566}

Patch Set 1 #

Patch Set 2 : fix vpn badge in tray; add "reconnecting" UI messages #

Total comments: 2

Patch Set 3 : incorporate feedback; rebase on ToT #

Total comments: 6

Patch Set 4 : incorporate code review feedback #

Patch Set 5 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -13 lines) Patch
M ash/system/chromeos/network/vpn_list_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/vpn_provider/basic.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/shill_third_party_vpn_driver_client.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/network/network_state.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chromeos/network/network_state.cc View 1 2 chunks +13 lines, -1 line 0 comments Download
M extensions/browser/api/vpn_provider/vpn_provider_api.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/browser/api/vpn_provider/vpn_service.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M extensions/common/api/vpn_provider.idl View 1 2 3 2 chunks +27 lines, -1 line 0 comments Download
M ui/chromeos/network/network_icon.cc View 1 2 3 4 3 chunks +16 lines, -5 lines 0 comments Download
M ui/chromeos/network/network_state_notifier.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/chromeos/ui_chromeos_strings.grd View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
Kevin Cernekee
4 years, 9 months ago (2016-03-12 06:28:11 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722453002/20001
4 years, 9 months ago (2016-03-14 22:14:54 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 01:29:12 UTC) #8
stevenjb
lgtm w/ nits https://codereview.chromium.org/1722453002/diff/20001/extensions/browser/api/vpn_provider/vpn_service.cc File extensions/browser/api/vpn_provider/vpn_service.cc (right): https://codereview.chromium.org/1722453002/diff/20001/extensions/browser/api/vpn_provider/vpn_service.cc#newcode122 extensions/browser/api/vpn_provider/vpn_service.cc:122: vpn_service_->SetActiveConfiguration(nullptr); {} around all clauses of ...
4 years, 9 months ago (2016-03-15 23:15:39 UTC) #9
Kevin Cernekee
emaxx - could you please take a look at the VPN files when you have ...
4 years, 9 months ago (2016-03-16 00:54:44 UTC) #11
emaxx
On 2016/03/16 00:54:44, Kevin Cernekee wrote: > emaxx - could you please take a look ...
4 years, 9 months ago (2016-03-16 04:05:34 UTC) #12
emaxx
https://codereview.chromium.org/1722453002/diff/40001/extensions/common/api/vpn_provider.idl File extensions/common/api/vpn_provider.idl (right): https://codereview.chromium.org/1722453002/diff/40001/extensions/common/api/vpn_provider.idl#newcode55 extensions/common/api/vpn_provider.idl:55: DOMString? reconnect; Shouldn't it have the boolean type? https://codereview.chromium.org/1722453002/diff/40001/extensions/common/api/vpn_provider.idl#newcode70 ...
4 years, 9 months ago (2016-03-16 04:05:58 UTC) #13
Kevin Cernekee
https://codereview.chromium.org/1722453002/diff/40001/extensions/common/api/vpn_provider.idl File extensions/common/api/vpn_provider.idl (right): https://codereview.chromium.org/1722453002/diff/40001/extensions/common/api/vpn_provider.idl#newcode55 extensions/common/api/vpn_provider.idl:55: DOMString? reconnect; On 2016/03/16 04:05:58, emaxx wrote: > Shouldn't ...
4 years, 9 months ago (2016-03-16 18:56:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722453002/80001
4 years, 9 months ago (2016-03-16 21:12:22 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157752)
4 years, 9 months ago (2016-03-16 21:22:58 UTC) #19
Kevin Cernekee
Hi asargent or rockot - could you please take a look at extensions/common/api/vpn_provider.idl to finish ...
4 years, 9 months ago (2016-03-16 21:36:01 UTC) #21
asargent_no_longer_on_chrome
CL description nit: what does "shill changes" mean? vpn_provider.idl lgtm
4 years, 9 months ago (2016-03-16 22:04:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722453002/80001
4 years, 9 months ago (2016-03-16 22:12:37 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-16 22:19:09 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 22:22:27 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7288268a683040968054a3dcfedef28d9151bc1d
Cr-Commit-Position: refs/heads/master@{#381566}

Powered by Google App Engine
This is Rietveld 408576698