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

Side by Side Diff: remoting/host/win/rdp_client_unittest.cc

Issue 1115773002: Apply automated fixits for Chrome clang plugin to remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/local_input_monitor_win.cc ('k') | remoting/host/win/rdp_client_window.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // ATL headers have to go first. 5 // ATL headers have to go first.
6 #include <atlbase.h> 6 #include <atlbase.h>
7 #include <atlhost.h> 7 #include <atlhost.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 static GUID RdpClientModuleLibid = { 50 static GUID RdpClientModuleLibid = {
51 0xa14498c6, 51 0xa14498c6,
52 0x7f3b, 52 0x7f3b,
53 0x4e42, 53 0x4e42,
54 { 0x96, 0x05, 0x6c, 0x4a, 0x20, 0xd5, 0x3c, 0x87 } 54 { 0x96, 0x05, 0x6c, 0x4a, 0x20, 0xd5, 0x3c, 0x87 }
55 }; 55 };
56 56
57 class RdpClientModule : public ATL::CAtlModuleT<RdpClientModule> { 57 class RdpClientModule : public ATL::CAtlModuleT<RdpClientModule> {
58 public: 58 public:
59 RdpClientModule(); 59 RdpClientModule();
60 virtual ~RdpClientModule(); 60 ~RdpClientModule() override;
61 61
62 DECLARE_LIBID(RdpClientModuleLibid) 62 DECLARE_LIBID(RdpClientModuleLibid)
63 63
64 private: 64 private:
65 base::win::ScopedCOMInitializer com_initializer_; 65 base::win::ScopedCOMInitializer com_initializer_;
66 }; 66 };
67 67
68 RdpClientModule::RdpClientModule() { 68 RdpClientModule::RdpClientModule() {
69 AtlAxWinInit(); 69 AtlAxWinInit();
70 } 70 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 rdp_client_.reset(new RdpClient( 164 rdp_client_.reset(new RdpClient(
165 task_runner_, task_runner_, 165 task_runner_, task_runner_,
166 webrtc::DesktopSize(kDefaultWidth, kDefaultHeight), 166 webrtc::DesktopSize(kDefaultWidth, kDefaultHeight),
167 terminal_id_, &event_handler_)); 167 terminal_id_, &event_handler_));
168 task_runner_ = nullptr; 168 task_runner_ = nullptr;
169 169
170 run_loop_.Run(); 170 run_loop_.Run();
171 } 171 }
172 172
173 } // namespace remoting 173 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/local_input_monitor_win.cc ('k') | remoting/host/win/rdp_client_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698