Index: chrome/common/chrome_utility_messages.h |
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
index 1f76e34c3a00d5f0ae26090c18ab919c645415c7..c88eebe8950586064ba39c553a7eabaa4b72ec72 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -390,3 +390,18 @@ IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, |
int64 /* start_byte */, |
int64 /* length */) |
#endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
+ |
+#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 */) |
+ |
+// Reply after gettng WiFi credentials from the system and encrypting it with |
+// caller's public key. |error| is not empty if error occured.. |
+IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
+ std::string /* encrypted_key_data */, |
+ std::string /* error */) |
+#endif // defined(OS_WIN) |
+ |