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

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

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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 unified diff | Download patch
« no previous file with comments | « remoting/host/signaling_connector.h ('k') | remoting/host/single_window_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_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "remoting/host/basic_desktop_environment.h" 8 #include "remoting/host/basic_desktop_environment.h"
9 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_types.h" 9 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_types.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 // Passed to the ChromotingHost to remote an individual window's contents, 13 // Passed to the ChromotingHost to remote an individual window's contents,
14 // rather than a whole desktop. 14 // rather than a whole desktop.
15 class SingleWindowDesktopEnvironmentFactory 15 class SingleWindowDesktopEnvironmentFactory
16 : public BasicDesktopEnvironmentFactory { 16 : public BasicDesktopEnvironmentFactory {
17 public: 17 public:
18 SingleWindowDesktopEnvironmentFactory( 18 SingleWindowDesktopEnvironmentFactory(
19 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 19 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
20 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 20 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
21 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 21 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
22 webrtc::WindowId window_id); 22 webrtc::WindowId window_id);
23 virtual ~SingleWindowDesktopEnvironmentFactory(); 23 virtual ~SingleWindowDesktopEnvironmentFactory();
24 24
25 // DesktopEnvironmentFactory interface. 25 // DesktopEnvironmentFactory interface.
26 virtual scoped_ptr<DesktopEnvironment> Create( 26 virtual scoped_ptr<DesktopEnvironment> Create(
27 base::WeakPtr<ClientSessionControl> client_session_control) OVERRIDE; 27 base::WeakPtr<ClientSessionControl> client_session_control) override;
28 28
29 private: 29 private:
30 webrtc::WindowId window_id_; 30 webrtc::WindowId window_id_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(SingleWindowDesktopEnvironmentFactory); 32 DISALLOW_COPY_AND_ASSIGN(SingleWindowDesktopEnvironmentFactory);
33 }; 33 };
34 34
35 } // namespace remoting 35 } // namespace remoting
36 36
37 #endif // REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ 37 #endif // REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/signaling_connector.h ('k') | remoting/host/single_window_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698