Remove media files used with tough_video_cases in favor of uploading them to google...
[chromium-blink-merge.git] / chrome / common / service_messages.h
blobe868b63054dfcc12ce1b705fcb987e0e5ae4bd2e
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
3 // found in the LICENSE file.
5 // Multiply-included message file, no traditional include guard.
6 #include <string>
7 #include <vector>
9 #include "base/values.h"
10 #include "chrome/common/cloud_print/cloud_print_proxy_info.h"
11 #include "ipc/ipc_channel_handle.h"
12 #include "ipc/ipc_message_macros.h"
14 #define IPC_MESSAGE_START ServiceMsgStart
16 IPC_STRUCT_TRAITS_BEGIN(cloud_print::CloudPrintProxyInfo)
17 IPC_STRUCT_TRAITS_MEMBER(enabled)
18 IPC_STRUCT_TRAITS_MEMBER(email)
19 IPC_STRUCT_TRAITS_MEMBER(proxy_id)
20 IPC_STRUCT_TRAITS_END()
22 // Tell the service process to enable the cloud proxy passing in the OAuth2
23 // auth code of a robot account.
24 IPC_MESSAGE_CONTROL4(ServiceMsg_EnableCloudPrintProxyWithRobot,
25 std::string /* robot_auth_code */,
26 std::string /* robot_email */,
27 std::string /* user_email */,
28 base::DictionaryValue /* user_settings */)
30 // Tell the service process to disable the cloud proxy.
31 IPC_MESSAGE_CONTROL0(ServiceMsg_DisableCloudPrintProxy)
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).
35 IPC_MESSAGE_CONTROL0(ServiceMsg_GetCloudPrintProxyInfo)
37 // Tell the service process to shutdown.
38 IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown)
40 // Tell the service process that an update is available.
41 IPC_MESSAGE_CONTROL0(ServiceMsg_UpdateAvailable)
43 //-----------------------------------------------------------------------------
44 // Service process host messages:
45 // These are messages from the service process to the browser.
46 // Sent when the cloud print proxy has an authentication error.
47 IPC_MESSAGE_CONTROL0(ServiceHostMsg_CloudPrintProxy_AuthError)
49 // Sent as a response to a request for cloud print proxy info
50 IPC_MESSAGE_CONTROL1(ServiceHostMsg_CloudPrintProxy_Info,
51 cloud_print::CloudPrintProxyInfo /* proxy info */)