OLD | NEW |
---|---|
(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/ipc_endpoint.h" | |
6 | |
7 namespace IPC { | |
8 | |
9 Endpoint::Endpoint() : attachment_broker_endpoint_(false) {} | |
10 | |
11 void Endpoint::SetAttachmentBrokerEndpoint(bool is_endpoint) { | |
12 if (is_endpoint != attachment_broker_endpoint_) { | |
13 attachment_broker_endpoint_ = is_endpoint; | |
14 OnSetAttachmentBrokerEndpoint(); | |
15 } | |
16 } | |
17 | |
18 } // namespace IPC | |
OLD | NEW |