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

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

Issue 2339163004: Revert of Moving CRD Windows targets to subdirectories. (Closed)
Patch Set: Created 4 years, 3 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/desktop_session_win.cc ('k') | remoting/host/installer/BUILD.gn » ('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/host_event_logger.h" 5 #include "remoting/host/host_event_logger.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "net/base/ip_endpoint.h" 19 #include "net/base/ip_endpoint.h"
20 #include "remoting/host/host_status_monitor.h" 20 #include "remoting/host/host_status_monitor.h"
21 #include "remoting/host/host_status_observer.h" 21 #include "remoting/host/host_status_observer.h"
22 #include "remoting/host/win/remoting_host_messages.h" 22 #include "remoting/host/remoting_host_messages.h"
23 #include "remoting/protocol/transport.h" 23 #include "remoting/protocol/transport.h"
24 24
25 namespace remoting { 25 namespace remoting {
26 26
27 namespace { 27 namespace {
28 28
29 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver { 29 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver {
30 public: 30 public:
31 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, 31 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor,
32 const std::string& application_name); 32 const std::string& application_name);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 // static 152 // static
153 std::unique_ptr<HostEventLogger> HostEventLogger::Create( 153 std::unique_ptr<HostEventLogger> HostEventLogger::Create(
154 base::WeakPtr<HostStatusMonitor> monitor, 154 base::WeakPtr<HostStatusMonitor> monitor,
155 const std::string& application_name) { 155 const std::string& application_name) {
156 return base::WrapUnique(new HostEventLoggerWin(monitor, application_name)); 156 return base::WrapUnique(new HostEventLoggerWin(monitor, application_name));
157 } 157 }
158 158
159 } // namespace remoting 159 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/installer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698