Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 102993002: Implement Networking Private API VerifyAndEncryptCredentials method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented NetworkingPrivateCredentialsGetterMac. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
+

Powered by Google App Engine
This is Rietveld 408576698