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

Unified Diff: media/remoting/fake_remoter.h

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/fake_demuxer_stream_provider.cc ('k') | media/remoting/fake_remoter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/fake_remoter.h
diff --git a/media/remoting/fake_remoting_controller.h b/media/remoting/fake_remoter.h
similarity index 92%
rename from media/remoting/fake_remoting_controller.h
rename to media/remoting/fake_remoter.h
index 7d20b3bd7dfe560a1f958132c7761e4d697e5bab..f14e0f6e1043273b71116f0c293033eda48cbe65 100644
--- a/media/remoting/fake_remoting_controller.h
+++ b/media/remoting/fake_remoter.h
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_REMOTING_FAKE_REMOTING_CONTROLLER_H_
-#define MEDIA_REMOTING_FAKE_REMOTING_CONTROLLER_H_
+#ifndef MEDIA_REMOTING_FAKE_REMOTER_H_
+#define MEDIA_REMOTING_FAKE_REMOTER_H_
#include "media/base/decoder_buffer.h"
#include "media/mojo/interfaces/remoting.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
namespace media {
+namespace remoting {
-class RemotingSourceImpl;
+class SharedSession;
class FakeRemotingDataStreamSender : public mojom::RemotingDataStreamSender {
public:
@@ -93,15 +94,15 @@ class FakeRemoterFactory final : public mojom::RemoterFactory {
void Create(mojom::RemotingSourcePtr source,
mojom::RemoterRequest request) override;
+ static scoped_refptr<SharedSession> CreateSharedSession(bool start_will_fail);
+
private:
bool start_will_fail_;
DISALLOW_COPY_AND_ASSIGN(FakeRemoterFactory);
};
-scoped_refptr<RemotingSourceImpl> CreateRemotingSourceImpl(
- bool start_will_fail);
-
+} // namespace remoting
} // namespace media
-#endif // MEDIA_REMOTING_FAKE_REMOTING_CONTROLLER_H_
+#endif // MEDIA_REMOTING_FAKE_REMOTER_H_
« no previous file with comments | « media/remoting/fake_demuxer_stream_provider.cc ('k') | media/remoting/fake_remoter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698