Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3027)

Unified Diff: blimp/net/helium/helium_stream.cc

Issue 2383533003: Blimp: define HeliumTransport/HeliumStream interfaces. (Closed)
Patch Set: typo Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..dc52f6a3031aa2730c0e8f705e6e402062f89e7d
--- /dev/null
+++ b/blimp/net/helium/helium_stream.cc
@@ -0,0 +1,29 @@
+// 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 <utility>
+
+#include "base/logging.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::SetDelegate(
+ std::unique_ptr<HeliumStream::Delegate> delegate) {
+ DCHECK(delegate);
+ delegate_ = std::move(delegate);
+}
+
+} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698