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

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

Issue 969173002: Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/BUILD.gn ('k') | remoting/host/it2me/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 <windows.h> 7 #include <windows.h>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "net/base/ip_endpoint.h" 15 #include "net/base/ip_endpoint.h"
16 #include "remoting/host/host_status_monitor.h" 16 #include "remoting/host/host_status_monitor.h"
17 #include "remoting/host/host_status_observer.h" 17 #include "remoting/host/host_status_observer.h"
18 #include "remoting/host/remoting_host_messages.h"
18 #include "remoting/protocol/transport.h" 19 #include "remoting/protocol/transport.h"
19 20
20 #include "remoting_host_messages.h"
21
22 namespace remoting { 21 namespace remoting {
23 22
24 namespace { 23 namespace {
25 24
26 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver { 25 class HostEventLoggerWin : public HostEventLogger, public HostStatusObserver {
27 public: 26 public:
28 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, 27 HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor,
29 const std::string& application_name); 28 const std::string& application_name);
30 29
31 virtual ~HostEventLoggerWin(); 30 virtual ~HostEventLoggerWin();
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 146 }
148 147
149 // static 148 // static
150 scoped_ptr<HostEventLogger> HostEventLogger::Create( 149 scoped_ptr<HostEventLogger> HostEventLogger::Create(
151 base::WeakPtr<HostStatusMonitor> monitor, 150 base::WeakPtr<HostStatusMonitor> monitor,
152 const std::string& application_name) { 151 const std::string& application_name) {
153 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name)); 152 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name));
154 } 153 }
155 154
156 } // namespace remoting 155 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698