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

Side by Side Diff: ipc/ipc_message.h

Issue 645623006: Standardize usage of virtual/override/final in ipc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef IPC_IPC_MESSAGE_H_ 5 #ifndef IPC_IPC_MESSAGE_H_
6 #define IPC_IPC_MESSAGE_H_ 6 #define IPC_IPC_MESSAGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 enum { 43 enum {
44 PRIORITY_MASK = 0x03, // Low 2 bits of store the priority value. 44 PRIORITY_MASK = 0x03, // Low 2 bits of store the priority value.
45 SYNC_BIT = 0x04, 45 SYNC_BIT = 0x04,
46 REPLY_BIT = 0x08, 46 REPLY_BIT = 0x08,
47 REPLY_ERROR_BIT = 0x10, 47 REPLY_ERROR_BIT = 0x10,
48 UNBLOCK_BIT = 0x20, 48 UNBLOCK_BIT = 0x20,
49 PUMPING_MSGS_BIT = 0x40, 49 PUMPING_MSGS_BIT = 0x40,
50 HAS_SENT_TIME_BIT = 0x80, 50 HAS_SENT_TIME_BIT = 0x80,
51 }; 51 };
52 52
53 virtual ~Message(); 53 ~Message() override;
54 54
55 Message(); 55 Message();
56 56
57 // Initialize a message with a user-defined type, priority value, and 57 // Initialize a message with a user-defined type, priority value, and
58 // destination WebView ID. 58 // destination WebView ID.
59 Message(int32 routing_id, uint32 type, PriorityValue priority); 59 Message(int32 routing_id, uint32 type, PriorityValue priority);
60 60
61 // Initializes a message from a const block of data. The data is not copied; 61 // Initializes a message from a const block of data. The data is not copied;
62 // instead the data is merely referenced by this message. Only const methods 62 // instead the data is merely referenced by this message. Only const methods
63 // should be used on the message when initialized this way. 63 // should be used on the message when initialized this way.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 MSG_ROUTING_NONE = -2, 284 MSG_ROUTING_NONE = -2,
285 285
286 // indicates a general message not sent to a particular tab. 286 // indicates a general message not sent to a particular tab.
287 MSG_ROUTING_CONTROL = kint32max, 287 MSG_ROUTING_CONTROL = kint32max,
288 }; 288 };
289 289
290 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies 290 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies
291 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging 291 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging
292 292
293 #endif // IPC_IPC_MESSAGE_H_ 293 #endif // IPC_IPC_MESSAGE_H_
OLDNEW
« no previous file with comments | « ipc/ipc_fuzzing_tests.cc ('k') | ipc/ipc_message_macros.h » ('j') | ipc/ipc_message_macros.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698