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

Issue 2821103003: Remove the configuration of Tether-associated Wi-Fi networks once connectivity is lost. (Closed)

Created:
3 years, 8 months ago by Ryan Hansberry
Modified:
3 years, 8 months ago
Reviewers:
Kyle Horimoto, stevenjb
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, stevenjb+watch_chromium.org, achuith+watch_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, alemate+watch_chromium.org, oshima+watch_chromium.org, lesliewatkins+watch-tether_chromium.org, khorimoto+watch-tether_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the configuration of Tether-associated Wi-Fi networks once connectivity is lost. Also, once a Wi-Fi network is removed (e.g. due to explicit config removal), remove its associated Tether network. BUG=672263 Review-Url: https://codereview.chromium.org/2821103003 Cr-Commit-Position: refs/heads/master@{#466838} Committed: https://chromium.googlesource.com/chromium/src/+/84eea314227407de46fbfde376d082bd41faa438

Patch Set 1 #

Total comments: 23

Patch Set 2 : Create NetworkConfigurationRemover and use MockManagedNetworkConfigurationHandler for tests. #

Patch Set 3 : Rebase. #

Total comments: 4

Patch Set 4 : Document a method on NetworkConfigurationRemover. #

Patch Set 5 : khorimoto@ comment. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -30 lines) Patch
M chrome/browser/chromeos/tether/tether_service.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/components/tether/BUILD.gn View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer.h View 1 2 3 4 5 6 chunks +16 lines, -6 lines 0 comments Download
M chromeos/components/tether/initializer.cc View 1 2 3 4 5 5 chunks +18 lines, -3 lines 0 comments Download
M chromeos/components/tether/initializer_unittest.cc View 1 4 chunks +14 lines, -5 lines 0 comments Download
A chromeos/components/tether/network_configuration_remover.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chromeos/components/tether/network_configuration_remover.cc View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
A chromeos/components/tether/network_configuration_remover_unittest.cc View 1 1 chunk +94 lines, -0 lines 0 comments Download
M chromeos/components/tether/tether_network_disconnection_handler.h View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chromeos/components/tether/tether_network_disconnection_handler.cc View 1 3 chunks +13 lines, -10 lines 0 comments Download
M chromeos/components/tether/tether_network_disconnection_handler_unittest.cc View 1 7 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Ryan Hansberry
3 years, 8 months ago (2017-04-17 19:53:44 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc File chromeos/components/tether/fake_managed_network_configuration_handler.cc (right): https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc#newcode47 chromeos/components/tether/fake_managed_network_configuration_handler.cc:47: // last_removed_configuration_path_ = service_path; Can't you just use this ...
3 years, 8 months ago (2017-04-17 20:34:53 UTC) #4
stevenjb
https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc File chromeos/components/tether/fake_managed_network_configuration_handler.cc (right): https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc#newcode48 chromeos/components/tether/fake_managed_network_configuration_handler.cc:48: const_cast<std::string&>(last_removed_configuration_path_) = service_path; I'm pretty sure you can do ...
3 years, 8 months ago (2017-04-18 21:03:36 UTC) #5
Kyle Horimoto
https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/tether_network_disconnection_handler.cc File chromeos/components/tether/tether_network_disconnection_handler.cc (right): https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/tether_network_disconnection_handler.cc#newcode59 chromeos/components/tether/tether_network_disconnection_handler.cc:59: managed_network_configuration_handler_->RemoveConfiguration( On 2017/04/18 21:03:36, stevenjb wrote: > On 2017/04/17 ...
3 years, 8 months ago (2017-04-18 21:14:00 UTC) #6
Ryan Hansberry
https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc File chromeos/components/tether/fake_managed_network_configuration_handler.cc (right): https://codereview.chromium.org/2821103003/diff/1/chromeos/components/tether/fake_managed_network_configuration_handler.cc#newcode47 chromeos/components/tether/fake_managed_network_configuration_handler.cc:47: // last_removed_configuration_path_ = service_path; On 2017/04/17 20:34:53, Kyle Horimoto ...
3 years, 8 months ago (2017-04-20 20:57:58 UTC) #7
Kyle Horimoto
lgtm https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.cc File chromeos/components/tether/network_configuration_remover.cc (right): https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.cc#newcode19 chromeos/components/tether/network_configuration_remover.cc:19: PA_LOG(INFO) << "Successfully removed Wi-Fi network " << ...
3 years, 8 months ago (2017-04-21 01:05:11 UTC) #8
stevenjb
https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.h File chromeos/components/tether/network_configuration_remover.h (right): https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.h#newcode28 chromeos/components/tether/network_configuration_remover.h:28: virtual void RemoveNetworkConfiguration(const std::string& wifi_network_guid); Document this
3 years, 8 months ago (2017-04-21 20:15:29 UTC) #9
Ryan Hansberry
https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.h File chromeos/components/tether/network_configuration_remover.h (right): https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.h#newcode28 chromeos/components/tether/network_configuration_remover.h:28: virtual void RemoveNetworkConfiguration(const std::string& wifi_network_guid); On 2017/04/21 20:15:28, stevenjb ...
3 years, 8 months ago (2017-04-24 17:56:21 UTC) #10
Ryan Hansberry
https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.cc File chromeos/components/tether/network_configuration_remover.cc (right): https://codereview.chromium.org/2821103003/diff/40001/chromeos/components/tether/network_configuration_remover.cc#newcode19 chromeos/components/tether/network_configuration_remover.cc:19: PA_LOG(INFO) << "Successfully removed Wi-Fi network " << guid ...
3 years, 8 months ago (2017-04-24 17:58:23 UTC) #11
stevenjb
lgtm
3 years, 8 months ago (2017-04-24 21:22:16 UTC) #12
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/2821103003/80001
3 years, 8 months ago (2017-04-24 23:02:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/255191) android_cronet on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 8 months ago (2017-04-24 23:06:53 UTC) #17
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/2821103003/120001
3 years, 8 months ago (2017-04-24 23:30:26 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 00:35:37 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/84eea314227407de46fbfde376d0...

Powered by Google App Engine
This is Rietveld 408576698