OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // WiFi credentials interface provided by the utility process and exposed | |
6 // by mojo policy control to the chrome browser process on OS_WIN. | |
7 | |
8 module extensions.mojom; | |
9 | |
10 interface WiFiCredentials { | |
Sam McNally
2017/01/16 04:16:20
WifiCredentialsGetter?
Noel Gordon
2017/01/16 11:09:58
Done.
| |
11 // OS_WIN: Get plain-text WiFi credentials from the system (requires UAC | |
12 // privilege elevation). Returns |success| false if an error occurred or | |
13 // |success| true and the result in |key_data|. | |
14 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
| |
15 }; | |
OLD | NEW |