OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 // Reply when a write or verify operation fails to complete. | 298 // Reply when a write or verify operation fails to complete. |
299 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, | 299 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, |
300 std::string /* message */) | 300 std::string /* message */) |
301 | 301 |
302 // Periodic status update about the progress of an operation. | 302 // Periodic status update about the progress of an operation. |
303 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, | 303 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, |
304 int64 /* number of bytes processed */) | 304 int64 /* number of bytes processed */) |
305 | 305 |
306 #if defined(OS_WIN) | 306 #if defined(OS_WIN) |
307 // Get plain-text WiFi credentials from the system (requires UAC privilege | 307 // Get plain-text WiFi credentials from the system (requires UAC privilege |
308 // elevation) and encrypt them with |public_key|. | 308 // elevation). |
309 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, | 309 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, |
310 std::string /* ssid */, | 310 std::string /* ssid */) |
311 std::vector<uint8> /* public_key */) | |
312 | 311 |
313 // Reply after getting WiFi credentials from the system and encrypting them with | 312 // Reply after getting WiFi credentials from the system. |success| is false if |
314 // caller's public key. |success| is false if error occurred. | 313 // error occurred. |
315 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, | 314 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, |
316 std::vector<uint8> /* encrypted_key_data */, | 315 std::string /* key_data */, |
317 bool /* success */) | 316 bool /* success */) |
318 #endif // defined(OS_WIN) | 317 #endif // defined(OS_WIN) |
OLD | NEW |