Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Side by Side Diff: content/common/manifest_manager_messages.h

Issue 580513002: Add support for gcm_sender_id in Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_start_url
Patch Set: add gcm_sender_id to ipc traits Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // IPC messages for the web manifest manager. 5 // IPC messages for the web manifest manager.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/public/common/manifest.h" 9 #include "content/public/common/manifest.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 11
12 #undef IPC_MESSAGE_EXPORT 12 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 14
15 #define IPC_MESSAGE_START ManifestManagerMsgStart 15 #define IPC_MESSAGE_START ManifestManagerMsgStart
16 16
17 IPC_STRUCT_TRAITS_BEGIN(content::Manifest) 17 IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
18 IPC_STRUCT_TRAITS_MEMBER(name) 18 IPC_STRUCT_TRAITS_MEMBER(name)
19 IPC_STRUCT_TRAITS_MEMBER(short_name) 19 IPC_STRUCT_TRAITS_MEMBER(short_name)
20 IPC_STRUCT_TRAITS_MEMBER(start_url) 20 IPC_STRUCT_TRAITS_MEMBER(start_url)
21 IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id)
21 IPC_STRUCT_TRAITS_END() 22 IPC_STRUCT_TRAITS_END()
22 23
23 // The browser process requests for the manifest linked with the associated 24 // The browser process requests for the manifest linked with the associated
24 // render frame. The renderer process will respond via a RequestManifestResponse 25 // render frame. The renderer process will respond via a RequestManifestResponse
25 // IPC message with a Manifest object attached to it and the associated 26 // IPC message with a Manifest object attached to it and the associated
26 // |request_id| that was initially given. 27 // |request_id| that was initially given.
27 IPC_MESSAGE_ROUTED1(ManifestManagerMsg_RequestManifest, 28 IPC_MESSAGE_ROUTED1(ManifestManagerMsg_RequestManifest,
28 int /* request_id */) 29 int /* request_id */)
29 30
30 // The renderer process' response to a RequestManifest. The |request_id| will 31 // The renderer process' response to a RequestManifest. The |request_id| will
31 // match the one that was initially received. The |manifest| object will be an 32 // match the one that was initially received. The |manifest| object will be an
32 // empty manifest in case of any failure. 33 // empty manifest in case of any failure.
33 IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_RequestManifestResponse, 34 IPC_MESSAGE_ROUTED2(ManifestManagerHostMsg_RequestManifestResponse,
34 int, /* request_id */ 35 int, /* request_id */
35 content::Manifest /* manifest */) 36 content::Manifest /* manifest */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698