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

Unified Diff: chrome/renderer/media/webrtc_logging_message_filter.h

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some errors. Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/media/webrtc_logging_message_filter.h
diff --git a/content/renderer/media/webrtc_logging_message_filter.h b/chrome/renderer/media/webrtc_logging_message_filter.h
similarity index 76%
rename from content/renderer/media/webrtc_logging_message_filter.h
rename to chrome/renderer/media/webrtc_logging_message_filter.h
index c2a372bfc64e70ed693ef67adc6714c65191f291..f60281334c4b0fbc611b724ae9c81121ca7e1e03 100644
--- a/content/renderer/media/webrtc_logging_message_filter.h
+++ b/chrome/renderer/media/webrtc_logging_message_filter.h
@@ -2,33 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_
-#define CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_
+#ifndef CHROME_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_
+#define CHROME_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_
#include "base/shared_memory.h"
-#include "content/common/content_export.h"
#include "ipc/ipc_channel_proxy.h"
namespace base {
class MessageLoopProxy;
}
-namespace content {
+namespace chrome {
class WebRtcLoggingHandlerImpl;
// Filter for WebRTC logging messages. Sits between WebRtcLoggingHandlerImpl
// (renderer process) and WebRtcLoggingHandlerHost (browser process). Must be
// called on the IO thread.
-class CONTENT_EXPORT WebRtcLoggingMessageFilter
+class WebRtcLoggingMessageFilter
: public IPC::ChannelProxy::MessageFilter {
public:
explicit WebRtcLoggingMessageFilter(
const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
- // We take owbership of |logging_handler|. See also comment below.
- virtual void InitLogging(WebRtcLoggingHandlerImpl* logging_handler,
- const std::string& app_session_id);
+ virtual void InitLogging(const std::string& app_session_id);
const scoped_refptr<base::MessageLoopProxy>& io_message_loop() {
return io_message_loop_;
@@ -62,6 +59,6 @@ class CONTENT_EXPORT WebRtcLoggingMessageFilter
DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingMessageFilter);
};
-} // namespace content
+} // namespace chrome
-#endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_
+#endif // CHROME_RENDERER_MEDIA_WEBRTC_LOGGING_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698