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

Side by Side Diff: remoting/host/fake_desktop_environment.h

Issue 2092483002: Provide access to the ID for the remoted Windows session in the network process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rsk_main
Patch Set: Addressing CR Feedback Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/fake_desktop_environment.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
7 7
8 #include <cstdint>
9 #include <memory>
10 #include <string>
8 #include <vector> 11 #include <vector>
9 12
10 #include "base/macros.h" 13 #include "base/macros.h"
11 #include "remoting/host/desktop_environment.h" 14 #include "remoting/host/desktop_environment.h"
12 #include "remoting/host/fake_mouse_cursor_monitor.h" 15 #include "remoting/host/fake_mouse_cursor_monitor.h"
13 #include "remoting/host/input_injector.h" 16 #include "remoting/host/input_injector.h"
14 #include "remoting/host/screen_controls.h" 17 #include "remoting/host/screen_controls.h"
15 #include "remoting/protocol/fake_desktop_capturer.h" 18 #include "remoting/protocol/fake_desktop_capturer.h"
16 19
17 namespace remoting { 20 namespace remoting {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 83
81 // DesktopEnvironment implementation. 84 // DesktopEnvironment implementation.
82 std::unique_ptr<AudioCapturer> CreateAudioCapturer() override; 85 std::unique_ptr<AudioCapturer> CreateAudioCapturer() override;
83 std::unique_ptr<InputInjector> CreateInputInjector() override; 86 std::unique_ptr<InputInjector> CreateInputInjector() override;
84 std::unique_ptr<ScreenControls> CreateScreenControls() override; 87 std::unique_ptr<ScreenControls> CreateScreenControls() override;
85 std::unique_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override; 88 std::unique_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override;
86 std::unique_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor() 89 std::unique_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor()
87 override; 90 override;
88 std::string GetCapabilities() const override; 91 std::string GetCapabilities() const override;
89 void SetCapabilities(const std::string& capabilities) override; 92 void SetCapabilities(const std::string& capabilities) override;
93 uint32_t GetDesktopSessionId() const override;
90 94
91 base::WeakPtr<FakeInputInjector> last_input_injector() { 95 base::WeakPtr<FakeInputInjector> last_input_injector() {
92 return last_input_injector_; 96 return last_input_injector_;
93 } 97 }
94 98
95 private: 99 private:
96 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_; 100 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_;
97 101
98 base::WeakPtr<FakeInputInjector> last_input_injector_; 102 base::WeakPtr<FakeInputInjector> last_input_injector_;
99 103
(...skipping 26 matching lines...) Expand all
126 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_; 130 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_;
127 131
128 base::WeakPtr<FakeDesktopEnvironment> last_desktop_environment_; 132 base::WeakPtr<FakeDesktopEnvironment> last_desktop_environment_;
129 133
130 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); 134 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory);
131 }; 135 };
132 136
133 } // namespace remoting 137 } // namespace remoting
134 138
135 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 139 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/fake_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698