| Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4a754dd5dae4301ab00888ca3ac2c881fca3496d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp
|
| @@ -0,0 +1,38 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "modules/presentation/PresentationConnectionList.h"
|
| +
|
| +#include "modules/EventTargetModules.h"
|
| +
|
| +namespace blink {
|
| +
|
| +PresentationConnectionList::PresentationConnectionList(ExecutionContext* context)
|
| + : ContextLifecycleObserver(context)
|
| +{
|
| +}
|
| +
|
| +const AtomicString& PresentationConnectionList::interfaceName() const
|
| +{
|
| + return EventTargetNames::PresentationConnectionList;
|
| +}
|
| +
|
| +ExecutionContext* PresentationConnectionList::getExecutionContext() const
|
| +{
|
| + return ContextLifecycleObserver::getExecutionContext();
|
| +}
|
| +
|
| +const HeapVector<Member<PresentationConnection>>& PresentationConnectionList::connections() const
|
| +{
|
| + return m_connections;
|
| +}
|
| +
|
| +DEFINE_TRACE(PresentationConnectionList)
|
| +{
|
| + visitor->trace(m_connections);
|
| + ContextLifecycleObserver::trace(visitor);
|
| + EventTargetWithInlineData::trace(visitor);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|