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

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

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/video_frame.h » ('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 (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/logging.h" 10 #include "base/logging.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/scoped_native_library.h" 13 #include "base/scoped_native_library.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "base/win/registry.h" 15 #include "base/win/registry.h"
16 #include "base/win/windows_version.h" 16 #include "base/win/windows_version.h"
17 #include "remoting/host/win/desktop.h" 17 #include "remoting/capturer/win/desktop.h"
18 #include "remoting/host/win/scoped_thread_desktop.h" 18 #include "remoting/capturer/win/scoped_thread_desktop.h"
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 namespace { 22 namespace {
23 23
24 // Names of the API and library implementing software SAS generation. 24 // Names of the API and library implementing software SAS generation.
25 const FilePath::CharType kSasDllFileName[] = FILE_PATH_LITERAL("sas.dll"); 25 const FilePath::CharType kSasDllFileName[] = FILE_PATH_LITERAL("sas.dll");
26 const char kSendSasName[] = "SendSAS"; 26 const char kSendSasName[] = "SendSAS";
27 27
28 // The prototype of SendSAS(). 28 // The prototype of SendSAS().
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 scoped_ptr<SasInjector> SasInjector::Create() { 227 scoped_ptr<SasInjector> SasInjector::Create() {
228 if (base::win::GetVersion() < base::win::VERSION_VISTA) { 228 if (base::win::GetVersion() < base::win::VERSION_VISTA) {
229 return scoped_ptr<SasInjector>(new SasInjectorXp()); 229 return scoped_ptr<SasInjector>(new SasInjectorXp());
230 } else { 230 } else {
231 return scoped_ptr<SasInjector>(new SasInjectorWin()); 231 return scoped_ptr<SasInjector>(new SasInjectorWin());
232 } 232 }
233 } 233 }
234 234
235 } // namespace remoting 235 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698