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

Unified Diff: chrome/common/extensions/wifi_credentials_getter.mojom

Issue 2610953003: Convert utility process WiFi Credentials IPC to mojo (Closed)
Patch Set: Add mojom test network name. Created 3 years, 11 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
« no previous file with comments | « chrome/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/wifi_credentials_getter.mojom
diff --git a/chrome/common/extensions/wifi_credentials_getter.mojom b/chrome/common/extensions/wifi_credentials_getter.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e5328b6df1404bc29d280d6139c4a23149b4256b
--- /dev/null
+++ b/chrome/common/extensions/wifi_credentials_getter.mojom
@@ -0,0 +1,17 @@
+// 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.
+
+// WiFi credentials interface provided by the utility process and exposed
+// by mojo policy control to the chrome browser process on OS_WIN.
+
+module extensions.mojom;
+
+interface WiFiCredentialsGetter {
+ const string kWiFiTestNetwork = "chrome://test-get-wifi-credentials";
+
+ // OS_WIN: Get plain-text WiFi credentials from the system (requires UAC
+ // privilege elevation). Returns |success| false if an error occurred or
+ // |success| true and the result in |key_data|.
+ GetWiFiCredentials(string ssid) => (bool success, string key_data);
+};
« no previous file with comments | « chrome/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698