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..cd3f0bd2b63ea3c29e1dba9fc7c663c88d2810af 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 gettng WiFi credentials from the system and encrypting them with |
Jorge Lucangeli Obes
2014/03/13 20:07:53
"getting"
mef
2014/03/13 20:22:29
Done.
|
+// caller's public key. |success| is false if error occured. |
Jorge Lucangeli Obes
2014/03/13 20:07:53
"occurred"
mef
2014/03/13 20:22:29
Done.
|
+IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
+ std::vector<uint8> /* encrypted_key_data */, |
+ bool /* success */) |
+#endif // defined(OS_WIN) |