Index: chrome/common/extensions/wifi_credentials.mojom |
diff --git a/chrome/common/extensions/wifi_credentials.mojom b/chrome/common/extensions/wifi_credentials.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba50c86ce612805468ed0c943c201022a6b5608a |
--- /dev/null |
+++ b/chrome/common/extensions/wifi_credentials.mojom |
@@ -0,0 +1,15 @@ |
+// 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 WiFiCredentials { |
Sam McNally
2017/01/16 04:16:20
WifiCredentialsGetter?
Noel Gordon
2017/01/16 11:09:58
Done.
|
+ // 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); |
tibell
2017/01/16 03:34:01
Could we instead return a `string?` (which transla
Noel Gordon
2017/01/16 09:30:05
We could I suppose, but it would diverge from the
|
+}; |