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

Unified Diff: media/remoting/remoting_sink_observer.cc

Issue 2643253003: Media Remoting Clean-up: Less-redundant naming, style consistency, etc. (Closed)
Patch Set: REBASE Created 3 years, 11 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
« no previous file with comments | « media/remoting/remoting_sink_observer.h ('k') | media/remoting/remoting_source_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remoting_sink_observer.cc
diff --git a/media/remoting/remoting_sink_observer.cc b/media/remoting/remoting_sink_observer.cc
deleted file mode 100644
index b5cb1bb06eb1529e4434196cac63a57338e124db..0000000000000000000000000000000000000000
--- a/media/remoting/remoting_sink_observer.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// 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 "media/remoting/remoting_sink_observer.h"
-
-namespace media {
-
-RemotingSinkObserver::RemotingSinkObserver(
- mojom::RemotingSourceRequest source_request,
- mojom::RemoterPtr remoter)
- : binding_(this, std::move(source_request)), remoter_(std::move(remoter)) {}
-
-RemotingSinkObserver::~RemotingSinkObserver() {}
-
-void RemotingSinkObserver::OnSinkAvailable(
- mojom::RemotingSinkCapabilities capabilities) {
- sink_capabilities_ = capabilities;
-}
-
-void RemotingSinkObserver::OnSinkGone() {
- sink_capabilities_ = mojom::RemotingSinkCapabilities::NONE;
-}
-
-} // namespace media
« no previous file with comments | « media/remoting/remoting_sink_observer.h ('k') | media/remoting/remoting_source_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698