Chromium Code Reviews| Index: remoting/base/logger.h |
| diff --git a/remoting/client/client_logger.h b/remoting/base/logger.h |
| similarity index 72% |
| rename from remoting/client/client_logger.h |
| rename to remoting/base/logger.h |
| index f481c51eb6825886e04ff0f9901fb1d9cd890c42..245bb1156dad9df209da420a2e063403e9dd1200 100644 |
| --- a/remoting/client/client_logger.h |
| +++ b/remoting/base/logger.h |
| @@ -2,18 +2,20 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef REMOTING_CLIENT_CLIENT_LOGGER_H_ |
| -#define REMOTING_CLIENT_CLIENT_LOGGER_H_ |
| +#ifndef REMOTING_BASE_LOGGER_H_ |
| +#define REMOTING_BASE_LOGGER_H_ |
| #include "base/basictypes.h" |
| #include "base/logging.h" |
| namespace remoting { |
| -class ClientLogger { |
| +extern const char* const log_severity_names[]; |
|
dmac
2011/06/26 14:34:44
maybe I missed it. Where are we using these outsid
garykac
2011/06/27 21:24:20
We're not so I made them protected statics (since
|
| + |
| +class Logger { |
| public: |
| - ClientLogger(); |
| - virtual ~ClientLogger(); |
| + Logger(); |
| + virtual ~Logger(); |
| void Log(logging::LogSeverity severity, const char* format, ...); |
| void VLog(int verboselevel, const char* format, ...); |
| @@ -23,9 +25,9 @@ class ClientLogger { |
| virtual void va_VLog(int verboselevel, const char* format, va_list ap); |
| private: |
| - DISALLOW_COPY_AND_ASSIGN(ClientLogger); |
| + DISALLOW_COPY_AND_ASSIGN(Logger); |
| }; |
| } // namespace remoting |
| -#endif // REMOTING_CLIENT_CLIENT_LOGGER_H_ |
| +#endif // REMOTING_BASE_LOGGER_H_ |