OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "chrome/common/extensions/extension.h" |
14 #include "chrome/common/extensions/update_manifest.h" | 15 #include "chrome/common/extensions/update_manifest.h" |
15 #include "content/public/common/common_param_traits.h" | 16 #include "content/public/common/common_param_traits.h" |
16 #include "content/public/common/serialized_script_value.h" | 17 #include "content/public/common/serialized_script_value.h" |
17 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
18 #include "printing/backend/print_backend.h" | 19 #include "printing/backend/print_backend.h" |
19 #include "printing/page_range.h" | 20 #include "printing/page_range.h" |
20 #include "printing/pdf_render_settings.h" | 21 #include "printing/pdf_render_settings.h" |
21 #include "third_party/skia/include/core/SkBitmap.h" | 22 #include "third_party/skia/include/core/SkBitmap.h" |
22 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/rect.h" |
23 | 24 |
(...skipping 22 matching lines...) Expand all Loading... |
46 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Results) | 47 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Results) |
47 IPC_STRUCT_TRAITS_MEMBER(list) | 48 IPC_STRUCT_TRAITS_MEMBER(list) |
48 IPC_STRUCT_TRAITS_MEMBER(daystart_elapsed_seconds) | 49 IPC_STRUCT_TRAITS_MEMBER(daystart_elapsed_seconds) |
49 IPC_STRUCT_TRAITS_END() | 50 IPC_STRUCT_TRAITS_END() |
50 | 51 |
51 //------------------------------------------------------------------------------ | 52 //------------------------------------------------------------------------------ |
52 // Utility process messages: | 53 // Utility process messages: |
53 // These are messages from the browser to the utility process. | 54 // These are messages from the browser to the utility process. |
54 // 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 |
55 // directory and verify that it is valid. | 56 // directory and verify that it is valid. |
56 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackExtension, | 57 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_UnpackExtension, |
57 FilePath /* extension_filename */) | 58 FilePath /* extension_filename */, |
| 59 int /* Extension::Location */, |
| 60 int /* InitFromValue flags */) |
58 | 61 |
59 // Tell the utility process to parse the given JSON data and verify its | 62 // Tell the utility process to parse the given JSON data and verify its |
60 // validity. | 63 // validity. |
61 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource, | 64 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource, |
62 std::string /* JSON data */) | 65 std::string /* JSON data */) |
63 | 66 |
64 // Tell the utility process to parse the given xml document. | 67 // Tell the utility process to parse the given xml document. |
65 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseUpdateManifest, | 68 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseUpdateManifest, |
66 std::string /* xml document contents */) | 69 std::string /* xml document contents */) |
67 | 70 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Reply when the utility process has succeeded in obtaining the printer | 162 // Reply when the utility process has succeeded in obtaining the printer |
160 // capabilities and defaults. | 163 // capabilities and defaults. |
161 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, | 164 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
162 std::string /* printer name */, | 165 std::string /* printer name */, |
163 printing::PrinterCapsAndDefaults) | 166 printing::PrinterCapsAndDefaults) |
164 | 167 |
165 // Reply when the utility process has failed to obtain the printer | 168 // Reply when the utility process has failed to obtain the printer |
166 // capabilities and defaults. | 169 // capabilities and defaults. |
167 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 170 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
168 std::string /* printer name */) | 171 std::string /* printer name */) |
OLD | NEW |