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/host_event_logger.h" | 5 #include "remoting/host/host_event_logger.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <stddef.h> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
| 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
14 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
15 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
16 #include "remoting/host/host_status_monitor.h" | 18 #include "remoting/host/host_status_monitor.h" |
17 #include "remoting/host/host_status_observer.h" | 19 #include "remoting/host/host_status_observer.h" |
18 #include "remoting/host/remoting_host_messages.h" | 20 #include "remoting/host/remoting_host_messages.h" |
19 #include "remoting/protocol/transport.h" | 21 #include "remoting/protocol/transport.h" |
20 | 22 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 } | 148 } |
147 | 149 |
148 // static | 150 // static |
149 scoped_ptr<HostEventLogger> HostEventLogger::Create( | 151 scoped_ptr<HostEventLogger> HostEventLogger::Create( |
150 base::WeakPtr<HostStatusMonitor> monitor, | 152 base::WeakPtr<HostStatusMonitor> monitor, |
151 const std::string& application_name) { | 153 const std::string& application_name) { |
152 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name)); | 154 return make_scoped_ptr(new HostEventLoggerWin(monitor, application_name)); |
153 } | 155 } |
154 | 156 |
155 } // namespace remoting | 157 } // namespace remoting |
OLD | NEW |