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

Side by Side Diff: content/public/renderer/webrtc_log_message_delegate.h

Issue 942963003: Cleanup: Fix content header include guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE 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 | « content/public/renderer/renderer_gamepad_provider.h ('k') | content/public/test/browser_test.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_WEBRTC_LOG_MESSAGE_DELEGATE_H_
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 6 #define CONTENT_PUBLIC_RENDERER_WEBRTC_LOG_MESSAGE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // This interface is implemented by a handler in the embedder and used for 14 // This interface is implemented by a handler in the embedder and used for
15 // initializing the logging and passing log messages to the handler. The 15 // initializing the logging and passing log messages to the handler. The
16 // purpose is to forward mainly libjingle log messages to embedder (besides 16 // purpose is to forward mainly libjingle log messages to embedder (besides
17 // the ordinary logging stream) that will be used for diagnostic purposes. 17 // the ordinary logging stream) that will be used for diagnostic purposes.
18 class WebRtcLogMessageDelegate { 18 class WebRtcLogMessageDelegate {
19 public: 19 public:
20 // Pass a diagnostic WebRTC log message. 20 // Pass a diagnostic WebRTC log message.
21 virtual void LogMessage(const std::string& message) = 0; 21 virtual void LogMessage(const std::string& message) = 0;
22 22
23 protected: 23 protected:
24 virtual ~WebRtcLogMessageDelegate() {} 24 virtual ~WebRtcLogMessageDelegate() {}
25 }; 25 };
26 26
27 // Must be called on IO thread. 27 // Must be called on IO thread.
28 CONTENT_EXPORT void InitWebRtcLoggingDelegate( 28 CONTENT_EXPORT void InitWebRtcLoggingDelegate(
29 WebRtcLogMessageDelegate* delegate); 29 WebRtcLogMessageDelegate* delegate);
30 30
31 // Must be called on IO thread. 31 // Must be called on IO thread.
32 CONTENT_EXPORT void InitWebRtcLogging(); 32 CONTENT_EXPORT void InitWebRtcLogging();
33 33
34 } // namespace content 34 } // namespace content
35 35
36 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 36 #endif // CONTENT_PUBLIC_RENDERER_WEBRTC_LOG_MESSAGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/renderer/renderer_gamepad_provider.h ('k') | content/public/test/browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698