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

Side by Side Diff: content/public/renderer/media/webrtc_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: Changing log message delegation path to go via content. 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/media/webrtc_logging_initializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_
7
8 #include <string>
9
10 namespace content {
11
12 // This interface is implemented by a handler in the embedder and used for
13 // initializing the logging and passing log messages to the handler. The
14 // purpose is to forward mainly libjingle log messages to Chrome (besides to the
jam 2013/05/29 16:25:48 nit: don't mention chrome in content
Henrik Grunell 2013/05/29 16:56:59 Changed to "embedder".
15 // ordinary logging stream) that will be used for diagnostic purposes.
16 class WebRtcLogMessageDelegate {
17 public:
18 virtual void InitLogging(const std::string& app_session_id,
19 const std::string& app_url) = 0;
jam 2013/05/29 16:25:48 what are these two parameters? nit: also document
Henrik Grunell 2013/05/29 16:56:59 The app session ID comes from the constraint value
20 virtual void LogMessage(const std::string& message) = 0;
21
22 protected:
23 virtual ~WebRtcLogMessageDelegate() {}
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_LOG_MESSAGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/renderer/media/webrtc_logging_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698