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..3551c67ecb2aa44d88295ffd095a6e522aa399b8 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -390,3 +390,20 @@ 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 passphrase from the system (requires UAC privilege |
+// elevation) and encrypt it with |public_key|. |
+IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_GetAndEncryptWiFiPassphrase, |
+ int32 /* request_id */, |
+ std::string /* ssid */, |
+ std::string /* public_key */) |
+ |
+// Reply after gettng WiFi passphrase from the system and encrypting it with |
+// caller's public key. |error| is not empty if error occured.. |
+IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_GotEncryptedWiFiPassphrase, |
+ int32 /* request_id */, |
+ std::string /* passphrase */, |
+ std::string /* error */) |
+#endif // defined(OS_WIN) |
+ |