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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_linux.h

Issue 782493003: Support disconnecting from wireless networks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix last nit Created 6 years 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: chrome/browser/extensions/api/networking_private/networking_private_linux.h
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_linux.h b/chrome/browser/extensions/api/networking_private/networking_private_linux.h
index ae47b04aa417d53c2bd4d7f6e2e4665db74f043a..35b52d7513dc7a57fc1252bc96fed3926652013f 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_linux.h
+++ b/chrome/browser/extensions/api/networking_private/networking_private_linux.h
@@ -120,6 +120,10 @@ class NetworkingPrivateLinux : public NetworkingPrivateDelegate {
// Must be called on |dbus_thread_|.
void ConnectToNetwork(const std::string& guid, std::string* error);
+ // Initiates disconnection from the specified network.
+ // Must be called on |dbus_thread_|
+ void DisconnectFromNetwork(const std::string& guid, std::string* error);
+
// Checks whether the current thread is the DBus thread. If not, DCHECK will
// fail.
void AssertOnDBusThread();

Powered by Google App Engine
This is Rietveld 408576698