| 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..2c2acbcb1b90f0fb0d20d9973bfbf6ae89491399 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 them with |public_key|.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials,
|
| + std::string /* ssid */,
|
| + std::vector<uint8> /* public_key */)
|
| +
|
| +// Reply after getting WiFi credentials from the system and encrypting them with
|
| +// caller's public key. |success| is false if error occurred.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials,
|
| + std::vector<uint8> /* encrypted_key_data */,
|
| + bool /* success */)
|
| +#endif // defined(OS_WIN)
|
|
|