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

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: Sync to r255173 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 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)

Powered by Google App Engine
This is Rietveld 408576698