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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 // Reply when a write or verify operation has been fully cancelled. | 463 // Reply when a write or verify operation has been fully cancelled. |
464 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled) | 464 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled) |
465 | 465 |
466 // Reply when a write or verify operation fails to complete. | 466 // Reply when a write or verify operation fails to complete. |
467 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, | 467 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, |
468 std::string /* message */) | 468 std::string /* message */) |
469 | 469 |
470 // Periodic status update about the progress of an operation. | 470 // Periodic status update about the progress of an operation. |
471 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, | 471 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, |
472 int64 /* number of bytes processed */) | 472 int64 /* number of bytes processed */) |
| 473 |
| 474 #if defined(OS_WIN) |
| 475 // Get plain-text WiFi credentials from the system (requires UAC privilege |
| 476 // elevation) and encrypt them with |public_key|. |
| 477 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, |
| 478 std::string /* ssid */, |
| 479 std::vector<uint8> /* public_key */) |
| 480 |
| 481 // Reply after getting WiFi credentials from the system and encrypting them with |
| 482 // caller's public key. |success| is false if error occurred. |
| 483 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
| 484 std::vector<uint8> /* encrypted_key_data */, |
| 485 bool /* success */) |
| 486 #endif // defined(OS_WIN) |
OLD | NEW |