Index: chrome/common/chrome_utility_messages.h |
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
index 92bc06e9b2b3c4aff12857a1084463b1d0e688aa..07622feccdce391c71b09bc13d2380e90435aaf3 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -439,3 +439,17 @@ 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) |