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

Unified Diff: chromeos/components/tether/fake_network_configuration_remover.cc

Issue 2857853005: [CrOS Tether] Create TetherDisconnector, which disconnects from active tethering sessions. (Closed)
Patch Set: hansberry@ comments. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/components/tether/fake_network_configuration_remover.cc
diff --git a/chromeos/components/tether/fake_network_configuration_remover.cc b/chromeos/components/tether/fake_network_configuration_remover.cc
new file mode 100644
index 0000000000000000000000000000000000000000..89f4e962aa0c261398abbbf08a3fba561d3be525
--- /dev/null
+++ b/chromeos/components/tether/fake_network_configuration_remover.cc
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chromeos/components/tether/fake_network_configuration_remover.h"
+
+namespace chromeos {
+
+namespace tether {
+
+FakeNetworkConfigurationRemover::FakeNetworkConfigurationRemover()
+ : NetworkConfigurationRemover(
+ nullptr /* network_state_handler */,
+ nullptr /* managed_network_configuration_handler */) {}
+
+FakeNetworkConfigurationRemover::~FakeNetworkConfigurationRemover() {}
+
+void FakeNetworkConfigurationRemover::RemoveNetworkConfiguration(
+ const std::string& wifi_network_guid) {
+ last_removed_wifi_network_guid_ = wifi_network_guid;
+}
+
+} // namespace tether
+
+} // namespace chromeos
« no previous file with comments | « chromeos/components/tether/fake_network_configuration_remover.h ('k') | chromeos/components/tether/initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698