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

Side by Side Diff: ipc/placeholder_brokerable_attachment.h

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « ipc/mojo/scoped_ipc_support.cc ('k') | ipc/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ 5 #ifndef IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
6 #define IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ 6 #define IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
7 7
8 #include "base/macros.h"
8 #include "ipc/brokerable_attachment.h" 9 #include "ipc/brokerable_attachment.h"
9 #include "ipc/ipc_export.h" 10 #include "ipc/ipc_export.h"
10 11
11 namespace IPC { 12 namespace IPC {
12 13
13 // This subclass of BrokerableAttachment has an AttachmentId, and nothing else. 14 // This subclass of BrokerableAttachment has an AttachmentId, and nothing else.
14 // It is intended to be replaced by the attachment broker. 15 // It is intended to be replaced by the attachment broker.
15 class IPC_EXPORT PlaceholderBrokerableAttachment : public BrokerableAttachment { 16 class IPC_EXPORT PlaceholderBrokerableAttachment : public BrokerableAttachment {
16 public: 17 public:
17 PlaceholderBrokerableAttachment(const AttachmentId& id) 18 PlaceholderBrokerableAttachment(const AttachmentId& id)
18 : BrokerableAttachment(id){}; 19 : BrokerableAttachment(id){};
19 BrokerableType GetBrokerableType() const override; 20 BrokerableType GetBrokerableType() const override;
20 21
21 protected: 22 protected:
22 ~PlaceholderBrokerableAttachment() override{}; 23 ~PlaceholderBrokerableAttachment() override{};
23 DISALLOW_COPY_AND_ASSIGN(PlaceholderBrokerableAttachment); 24 DISALLOW_COPY_AND_ASSIGN(PlaceholderBrokerableAttachment);
24 }; 25 };
25 26
26 } // namespace IPC 27 } // namespace IPC
27 28
28 #endif // IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_ 29 #endif // IPC_PLACEHOLDER_BROKERABLE_ATTACHMENT_H_
OLDNEW
« no previous file with comments | « ipc/mojo/scoped_ipc_support.cc ('k') | ipc/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698