| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 // Reply when a write or verify operation fails to complete. | 510 // Reply when a write or verify operation fails to complete. |
| 511 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, | 511 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, |
| 512 std::string /* message */) | 512 std::string /* message */) |
| 513 | 513 |
| 514 // Periodic status update about the progress of an operation. | 514 // Periodic status update about the progress of an operation. |
| 515 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, | 515 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, |
| 516 int64 /* number of bytes processed */) | 516 int64 /* number of bytes processed */) |
| 517 | 517 |
| 518 #if defined(OS_WIN) | 518 #if defined(OS_WIN) |
| 519 // Get plain-text WiFi credentials from the system (requires UAC privilege | 519 // Get plain-text WiFi credentials from the system (requires UAC privilege |
| 520 // elevation) and encrypt them with |public_key|. | 520 // elevation). |
| 521 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, | 521 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, |
| 522 std::string /* ssid */, | 522 std::string /* ssid */) |
| 523 std::vector<uint8> /* public_key */) | |
| 524 | 523 |
| 525 // Reply after getting WiFi credentials from the system and encrypting them with | 524 // Reply after getting WiFi credentials from the system. |success| is false if |
| 526 // caller's public key. |success| is false if error occurred. | 525 // error occurred. |
| 527 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, | 526 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, |
| 528 std::vector<uint8> /* encrypted_key_data */, | 527 std::string /* key_data */, |
| 529 bool /* success */) | 528 bool /* success */) |
| 530 #endif // defined(OS_WIN) | 529 #endif // defined(OS_WIN) |
| OLD | NEW |