Roll src/third_party/WebKit 7d313db:88b90a6 (svn 202266:202267)
[chromium-blink-merge.git] / ipc / ipc_endpoint.cc
blobf613df2c25edc9cb89ee8ecc2b41935eccd8b00c
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.
5 #include "ipc/ipc_endpoint.h"
7 namespace IPC {
9 Endpoint::Endpoint() : attachment_broker_endpoint_(false) {}
11 void Endpoint::SetAttachmentBrokerEndpoint(bool is_endpoint) {
12 if (is_endpoint != attachment_broker_endpoint_) {
13 attachment_broker_endpoint_ = is_endpoint;
14 OnSetAttachmentBrokerEndpoint();
18 } // namespace IPC