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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 IPC_STRUCT_TRAITS_END() | 72 IPC_STRUCT_TRAITS_END() |
73 | 73 |
74 //------------------------------------------------------------------------------ | 74 //------------------------------------------------------------------------------ |
75 // Utility process messages: | 75 // Utility process messages: |
76 // These are messages from the browser to the utility process. | 76 // These are messages from the browser to the utility process. |
77 | 77 |
78 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_UnzipToDir, | 78 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_UnzipToDir, |
79 base::FilePath /* zip_file */, | 79 base::FilePath /* zip_file */, |
80 base::FilePath /* dir */) | 80 base::FilePath /* dir */) |
81 | 81 |
82 // Tell the utility process to decode the given image data, which is base64 | |
83 // encoded. | |
84 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, | |
85 std::string) // base64 encoded image contents | |
86 | |
87 #if defined(OS_WIN) | 82 #if defined(OS_WIN) |
88 // Tell the utility process to parse the iTunes preference XML file contents | 83 // Tell the utility process to parse the iTunes preference XML file contents |
89 // and return the path to the iTunes directory. | 84 // and return the path to the iTunes directory. |
90 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseITunesPrefXml, | 85 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseITunesPrefXml, |
91 std::string /* XML to parse */) | 86 std::string /* XML to parse */) |
92 #endif // defined(OS_WIN) | 87 #endif // defined(OS_WIN) |
93 | 88 |
94 #if defined(OS_MACOSX) | 89 #if defined(OS_MACOSX) |
95 // Tell the utility process to parse the iPhoto library XML file and | 90 // Tell the utility process to parse the iPhoto library XML file and |
96 // return the parse result as well as the iPhoto library as an iphoto::Library. | 91 // return the parse result as well as the iPhoto library as an iphoto::Library. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // elevation). | 229 // elevation). |
235 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, | 230 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, |
236 std::string /* ssid */) | 231 std::string /* ssid */) |
237 | 232 |
238 // Reply after getting WiFi credentials from the system. |success| is false if | 233 // Reply after getting WiFi credentials from the system. |success| is false if |
239 // error occurred. | 234 // error occurred. |
240 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, | 235 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, |
241 std::string /* key_data */, | 236 std::string /* key_data */, |
242 bool /* success */) | 237 bool /* success */) |
243 #endif // defined(OS_WIN) | 238 #endif // defined(OS_WIN) |
OLD | NEW |