blob: f613df2c25edc9cb89ee8ecc2b41935eccd8b00c [file] [log] [blame]
erikchena09b9be72015-08-10 19:22:331// 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
7namespace IPC {
8
9Endpoint::Endpoint() : attachment_broker_endpoint_(false) {}
10
11void 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