OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "remoting/host/sas_injector.h" | 5 #include "remoting/host/sas_injector.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
12 #include "base/path_service.h" | 13 #include "base/path_service.h" |
13 #include "base/scoped_native_library.h" | 14 #include "base/scoped_native_library.h" |
14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
15 #include "base/win/registry.h" | 16 #include "base/win/registry.h" |
16 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
17 #include "third_party/webrtc/modules/desktop_capture/win/desktop.h" | 18 #include "third_party/webrtc/modules/desktop_capture/win/desktop.h" |
18 #include "third_party/webrtc/modules/desktop_capture/win/scoped_thread_desktop.h
" | 19 #include "third_party/webrtc/modules/desktop_capture/win/scoped_thread_desktop.h
" |
19 | 20 |
20 namespace remoting { | 21 namespace remoting { |
21 | 22 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 221 |
221 scoped_ptr<SasInjector> SasInjector::Create() { | 222 scoped_ptr<SasInjector> SasInjector::Create() { |
222 if (base::win::GetVersion() < base::win::VERSION_VISTA) { | 223 if (base::win::GetVersion() < base::win::VERSION_VISTA) { |
223 return make_scoped_ptr(new SasInjectorXp()); | 224 return make_scoped_ptr(new SasInjectorXp()); |
224 } else { | 225 } else { |
225 return make_scoped_ptr(new SasInjectorWin()); | 226 return make_scoped_ptr(new SasInjectorWin()); |
226 } | 227 } |
227 } | 228 } |
228 | 229 |
229 } // namespace remoting | 230 } // namespace remoting |
OLD | NEW |