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, no traditional include guard. | 5 // Multiply-included message file, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/common/cloud_print/cloud_print_proxy_info.h" | 10 #include "chrome/common/cloud_print/cloud_print_proxy_info.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 // Requests a message back with all available printers. | 40 // Requests a message back with all available printers. |
41 IPC_MESSAGE_CONTROL0(ServiceMsg_GetPrinters) | 41 IPC_MESSAGE_CONTROL0(ServiceMsg_GetPrinters) |
42 | 42 |
43 // Tell the service process to shutdown. | 43 // Tell the service process to shutdown. |
44 IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown) | 44 IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown) |
45 | 45 |
46 // Tell the service process that an update is available. | 46 // Tell the service process that an update is available. |
47 IPC_MESSAGE_CONTROL0(ServiceMsg_UpdateAvailable) | 47 IPC_MESSAGE_CONTROL0(ServiceMsg_UpdateAvailable) |
48 | 48 |
| 49 // Tell the service process to remain alive when disconnected. |
| 50 IPC_MESSAGE_CONTROL0(ServiceMsg_StayAliveForTesting) |
| 51 |
49 //----------------------------------------------------------------------------- | 52 //----------------------------------------------------------------------------- |
50 // Service process host messages: | 53 // Service process host messages: |
51 // These are messages from the service process to the browser. | 54 // These are messages from the service process to the browser. |
52 // Sent as a response to a request for cloud print proxy info | 55 // Sent as a response to a request for cloud print proxy info |
53 IPC_MESSAGE_CONTROL1(ServiceHostMsg_CloudPrintProxy_Info, | 56 IPC_MESSAGE_CONTROL1(ServiceHostMsg_CloudPrintProxy_Info, |
54 cloud_print::CloudPrintProxyInfo /* proxy info */) | 57 cloud_print::CloudPrintProxyInfo /* proxy info */) |
55 | 58 |
56 // Sent as a response to ServiceMsg_GetHistograms. | 59 // Sent as a response to ServiceMsg_GetHistograms. |
57 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Histograms, | 60 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Histograms, |
58 std::vector<std::string> /* pickled_histograms */) | 61 std::vector<std::string> /* pickled_histograms */) |
59 | 62 |
60 // Sent as a response to ServiceMsg_GetPrinters. | 63 // Sent as a response to ServiceMsg_GetPrinters. |
61 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Printers, | 64 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Printers, |
62 std::vector<std::string> /* printers */) | 65 std::vector<std::string> /* printers */) |
OLD | NEW |