Chromium Code Reviews| Index: chrome/common/chrome_utility_messages.h |
| diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
| index de9a1215d3632a38c809978f7f0ecdde12fe2f27..f732c2c2428238a3f119402dbf217ded2c87ba5c 100644 |
| --- a/chrome/common/chrome_utility_messages.h |
| +++ b/chrome/common/chrome_utility_messages.h |
| @@ -470,3 +470,17 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, |
| // Periodic status update about the progress of an operation. |
| IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, |
| int64 /* number of bytes processed */) |
| + |
| +#if defined(OS_WIN) |
| +// Get plain-text WiFi credentials from the system (requires UAC privilege |
| +// elevation) and encrypt it with |public_key|. |
| +IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, |
| + std::string /* ssid */, |
| + std::string /* public_key */) |
|
palmer
2014/03/03 22:17:42
vector<uint8> would be a better type for a key; be
mef
2014/03/04 21:57:03
Done.
|
| + |
| +// Reply after gettng WiFi credentials from the system and encrypting it with |
|
Jorge Lucangeli Obes
2014/03/03 23:31:39
nits: typo in "getting", "encrypting them" for ver
mef
2014/03/04 21:57:03
Done.
|
| +// caller's public key. |error| is not empty if error occured.. |
|
palmer
2014/03/03 22:17:42
Nit: Just 1 ".".
mef
2014/03/04 21:57:03
Done.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
| + std::string /* encrypted_key_data */, |
|
palmer
2014/03/03 22:17:42
vector<uint8> is a better type for encrypted data.
mef
2014/03/04 21:57:03
Done.
|
| + std::string /* error */) |
|
palmer
2014/03/03 22:17:42
How many possible errors are there? An enumerated
mef
2014/03/04 21:57:03
Done.
|
| +#endif // defined(OS_WIN) |