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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 IPC_STRUCT_TRAITS_END() | 50 IPC_STRUCT_TRAITS_END() |
51 | 51 |
52 //------------------------------------------------------------------------------ | 52 //------------------------------------------------------------------------------ |
53 // Utility process messages: | 53 // Utility process messages: |
54 // These are messages from the browser to the utility process. | 54 // These are messages from the browser to the utility process. |
55 // Tell the utility process to unpack the given extension file in its | 55 // Tell the utility process to unpack the given extension file in its |
56 // directory and verify that it is valid. | 56 // directory and verify that it is valid. |
57 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_UnpackExtension, | 57 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_UnpackExtension, |
58 FilePath /* extension_filename */, | 58 FilePath /* extension_filename */, |
59 std::string /* extension_id */, | 59 std::string /* extension_id */, |
60 int /* Extension::Location */, | 60 int /* Manifest::Location */, |
61 int /* InitFromValue flags */) | 61 int /* InitFromValue flags */) |
62 | 62 |
63 // Tell the utility process to parse the given JSON data and verify its | 63 // Tell the utility process to parse the given JSON data and verify its |
64 // validity. | 64 // validity. |
65 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource, | 65 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource, |
66 std::string /* JSON data */) | 66 std::string /* JSON data */) |
67 | 67 |
68 // Tell the utility process to parse the given xml document. | 68 // Tell the utility process to parse the given xml document. |
69 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseUpdateManifest, | 69 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseUpdateManifest, |
70 std::string /* xml document contents */) | 70 std::string /* xml document contents */) |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 187 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
188 std::string /* printer name */) | 188 std::string /* printer name */) |
189 | 189 |
190 #if defined(OS_CHROMEOS) | 190 #if defined(OS_CHROMEOS) |
191 // Reply when the utility process has succeeded in creating the zip file. | 191 // Reply when the utility process has succeeded in creating the zip file. |
192 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded) | 192 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded) |
193 | 193 |
194 // Reply when an error occured in creating the zip file. | 194 // Reply when an error occured in creating the zip file. |
195 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed) | 195 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed) |
196 #endif // defined(OS_CHROMEOS) | 196 #endif // defined(OS_CHROMEOS) |
OLD | NEW |