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

Side by Side Diff: third_party/libjingle/overrides/logging/log_message_delegate.h

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef THIRD_PARTY_LIBJINGLE_OVERRIDES_LOGGING_LOG_MESSAGE_DELEGATE_H_
6 #define THIRD_PARTY_LIBJINGLE_OVERRIDES_LOGGING_LOG_MESSAGE_DELEGATE_H_
7
8 #include <string>
9
10 namespace talk_base {
11
12 // This interface is implemented by a handler in Chromium and used by the
13 // overridden logging.h/cc in libjingle. The purpose is to forward libjingle
14 // logging messages to Chromium (besides to the ordinary logging stream) that
15 // will be used for diagnostic purposes. LogMessage can be called on any thread
16 // used by libjingle.
17 class LogMessageDelegate {
18 public:
19 virtual void LogMessage(const std::string& message) = 0;
20
21 protected:
22 virtual ~LogMessageDelegate() {}
23 };
24
25 } // namespace talk_base
26
27 #endif // THIRD_PARTY_LIBJINGLE_OVERRIDES_LOGGING_LOG_MESSAGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « third_party/libjingle/libjingle.gyp ('k') | third_party/libjingle/overrides/talk/base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698