| Index: blimp/net/helium/helium_stream.cc
|
| diff --git a/blimp/net/helium/helium_stream.cc b/blimp/net/helium/helium_stream.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e059c6e4d9b713f2b6cd714285ca8793bd335e57
|
| --- /dev/null
|
| +++ b/blimp/net/helium/helium_stream.cc
|
| @@ -0,0 +1,30 @@
|
| +// 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 "blimp/net/helium/helium_stream.h"
|
| +
|
| +// Include added temporarily to get helium_transport.h to compile.
|
| +// Will be removed as soon as there is a legitimate dependency on
|
| +// helium_transport.h.
|
| +// TODO(kmarshall): Remove this include.
|
| +#include "blimp/net/helium/helium_transport.h"
|
| +
|
| +namespace blimp {
|
| +
|
| +HeliumStream::HeliumStream() {}
|
| +
|
| +HeliumStream::~HeliumStream() {}
|
| +
|
| +void HeliumStream::AddObserver(HeliumStream::Observer* observer) {
|
| + DCHECK(observer);
|
| + observers_.AddObserver(observer);
|
| +}
|
| +
|
| +void HeliumStream::NotifyStreamDisconnected() {
|
| + FOR_EACH_OBSERVER(HeliumStream::Observer, observers_,
|
| + OnStreamDisconnected(this));
|
| +}
|
| +
|
| +} // namespace blimp
|
| +
|
|
|