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

Unified Diff: content/renderer/media/webrtc_logging_handler_impl.h

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/renderer/media/webrtc_logging_handler_impl.h
diff --git a/content/renderer/media/webrtc_logging_handler_impl.h b/content/renderer/media/webrtc_logging_handler_impl.h
deleted file mode 100644
index ff9b4f30bd0557c4decd280898f7aa8d6da1f0c7..0000000000000000000000000000000000000000
--- a/content/renderer/media/webrtc_logging_handler_impl.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// 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_HANDLER_IMPL_H_
-#define CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_HANDLER_IMPL_H_
-
-#include <string>
-
-#include "base/shared_memory.h"
-#include "base/threading/non_thread_safe.h"
-#include "content/common/content_export.h"
-#include "ipc/ipc_channel_proxy.h"
-#include "third_party/libjingle/overrides/logging/log_message_delegate.h"
-
-namespace base {
-class MessageLoopProxy;
-}
-
-namespace content {
-
-class PartialCircularBuffer;
-class WebRtcLoggingMessageFilter;
-
-// WebRtcLoggingHandlerImpl handles WebRTC logging. There is one object per
-// render process, owned by WebRtcLoggingMessageFilter. It communicates with
-// WebRtcLoggingHandlerHost and receives logging messages from libjingle and
-// writes them to a shared memory buffer.
-class CONTENT_EXPORT WebRtcLoggingHandlerImpl
- : public NON_EXPORTED_BASE(talk_base::LogMessageDelegate),
- public NON_EXPORTED_BASE(base::NonThreadSafe) {
- public:
- WebRtcLoggingHandlerImpl(
- const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
-
- virtual ~WebRtcLoggingHandlerImpl();
-
- // talk_base::LogMessageDelegate implementation.
- virtual void LogMessage(const std::string& message) OVERRIDE;
-
- void OnFilterRemoved();
-
- void OnLogOpened(base::SharedMemoryHandle handle, uint32 length);
- void OnOpenLogFailed();
-
- private:
- scoped_refptr<base::MessageLoopProxy> io_message_loop_;
- scoped_ptr<base::SharedMemory> shared_memory_;
- scoped_ptr<content::PartialCircularBuffer> circular_buffer_;
-
- DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_HANDLER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698