| 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_
|
|
|