| 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 19 matching lines...) Expand all Loading... |
| 30 // Tell the service process to disable the cloud proxy. | 30 // Tell the service process to disable the cloud proxy. |
| 31 IPC_MESSAGE_CONTROL0(ServiceMsg_DisableCloudPrintProxy) | 31 IPC_MESSAGE_CONTROL0(ServiceMsg_DisableCloudPrintProxy) |
| 32 | 32 |
| 33 // Requests a message back on the current status of the cloud print proxy | 33 // Requests a message back on the current status of the cloud print proxy |
| 34 // (whether it is enabled, the email address and the proxy id). | 34 // (whether it is enabled, the email address and the proxy id). |
| 35 IPC_MESSAGE_CONTROL0(ServiceMsg_GetCloudPrintProxyInfo) | 35 IPC_MESSAGE_CONTROL0(ServiceMsg_GetCloudPrintProxyInfo) |
| 36 | 36 |
| 37 // Requests a message back with serialized UMA histograms. | 37 // Requests a message back with serialized UMA histograms. |
| 38 IPC_MESSAGE_CONTROL0(ServiceMsg_GetHistograms) | 38 IPC_MESSAGE_CONTROL0(ServiceMsg_GetHistograms) |
| 39 | 39 |
| 40 // Requests a message back with all available printers. |
| 41 IPC_MESSAGE_CONTROL0(ServiceMsg_GetPrinters) |
| 42 |
| 40 // Tell the service process to shutdown. | 43 // Tell the service process to shutdown. |
| 41 IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown) | 44 IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown) |
| 42 | 45 |
| 43 // Tell the service process that an update is available. | 46 // Tell the service process that an update is available. |
| 44 IPC_MESSAGE_CONTROL0(ServiceMsg_UpdateAvailable) | 47 IPC_MESSAGE_CONTROL0(ServiceMsg_UpdateAvailable) |
| 45 | 48 |
| 46 //----------------------------------------------------------------------------- | 49 //----------------------------------------------------------------------------- |
| 47 // Service process host messages: | 50 // Service process host messages: |
| 48 // These are messages from the service process to the browser. | 51 // These are messages from the service process to the browser. |
| 49 // Sent as a response to a request for cloud print proxy info | 52 // Sent as a response to a request for cloud print proxy info |
| 50 IPC_MESSAGE_CONTROL1(ServiceHostMsg_CloudPrintProxy_Info, | 53 IPC_MESSAGE_CONTROL1(ServiceHostMsg_CloudPrintProxy_Info, |
| 51 cloud_print::CloudPrintProxyInfo /* proxy info */) | 54 cloud_print::CloudPrintProxyInfo /* proxy info */) |
| 52 | 55 |
| 53 // Sent as a response to ServiceMsg_GetHistograms. | 56 // Sent as a response to ServiceMsg_GetHistograms. |
| 54 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Histograms, | 57 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Histograms, |
| 55 std::vector<std::string> /* pickled_histograms */) | 58 std::vector<std::string> /* pickled_histograms */) |
| 59 |
| 60 // Sent as a response to ServiceMsg_GetPrinters. |
| 61 IPC_MESSAGE_CONTROL1(ServiceHostMsg_Printers, |
| 62 std::vector<std::string> /* printers */) |
| OLD | NEW |