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

Side by Side Diff: remoting/host/directx_traits.cc

Issue 2464293002: [Chromoting] GetHostAttributes with tests (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/host/directx_traits.h"
6
7 #if defined(OS_WIN)
8 #include "remoting/host/host_traits.h"
9 #include "third_party/webrtc/modules/desktop_capture/win/screen_capturer_win_dir ectx.h"
10
11 namespace remoting {
12
13 void RegisterDirectxTraits() {
14 host_traits().Register("DirectX-Capturer",
15 &ScreenCapturerWinDirectx::IsSupported);
16 // TODO(zijiehe): Add minimum and maximum DirectX version supported on the
17 // system. Blocked by change https://codereview.chromium.org/2468083002/.
18 }
19
20 } // namespace remoting
21 #else
22 namespace remoting {
23 // Do nothing on other platforms.
24 void RegisterDirectxTraits() {}
25 } // namespace remoting
26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698