OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ | 5 #ifndef REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ |
6 #define REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ | 6 #define REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
(...skipping 18 matching lines...) Expand all Loading... |
29 // A Log Message Handler that is called after each LOG message has been | 29 // A Log Message Handler that is called after each LOG message has been |
30 // processed. This must be of type LogMessageHandlerFunction defined in | 30 // processed. This must be of type LogMessageHandlerFunction defined in |
31 // base/logging.h. | 31 // base/logging.h. |
32 static bool LogToUI(int severity, const char* file, int line, | 32 static bool LogToUI(int severity, const char* file, int line, |
33 size_t message_start, const std::string& str); | 33 size_t message_start, const std::string& str); |
34 }; | 34 }; |
35 | 35 |
36 } // namespace remoting | 36 } // namespace remoting |
37 | 37 |
38 #endif // REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ | 38 #endif // REMOTING_HOST_PLUGIN_HOST_LOG_HANDLER_H_ |
OLD | NEW |