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

Side by Side Diff: ipc/brokerable_attachment.cc

Issue 2494943002: Remove IPC::BrokerableAttachment. (Closed)
Patch Set: extra test output Created 4 years, 1 month 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/brokerable_attachment.h ('k') | ipc/handle_attachment_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ipc/brokerable_attachment.h"
6
7 #include <stddef.h>
8
9 #include "build/build_config.h"
10
11 namespace IPC {
12
13 // BrokerableAttachment::BrokerableAttachment ----------------------------------
14
15 BrokerableAttachment::BrokerableAttachment() = default;
16
17 BrokerableAttachment::~BrokerableAttachment() = default;
18
19 bool BrokerableAttachment::NeedsBrokering() const {
20 return GetBrokerableType() == PLACEHOLDER;
21 }
22
23 BrokerableAttachment::Type BrokerableAttachment::GetType() const {
24 return TYPE_BROKERABLE_ATTACHMENT;
25 }
26
27 #if defined(OS_POSIX)
28 base::PlatformFile BrokerableAttachment::TakePlatformFile() {
29 NOTREACHED();
30 return base::PlatformFile();
31 }
32 #endif // OS_POSIX
33
34 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/brokerable_attachment.h ('k') | ipc/handle_attachment_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698