| 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);
|
| +};
|
|
|