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

Unified Diff: chrome/browser/media/webrtc_logging_handler_host.cc

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, 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
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_logging_handler_host.cc
diff --git a/content/browser/renderer_host/media/webrtc_logging_handler_host.cc b/chrome/browser/media/webrtc_logging_handler_host.cc
similarity index 89%
rename from content/browser/renderer_host/media/webrtc_logging_handler_host.cc
rename to chrome/browser/media/webrtc_logging_handler_host.cc
index 10e2101c80590cd4d69afe0697c576a3c96b13c7..77eaf10ee718810d5439a4ace6a0ab21d63b3966 100644
--- a/content/browser/renderer_host/media/webrtc_logging_handler_host.cc
+++ b/chrome/browser/media/webrtc_logging_handler_host.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/renderer_host/media/webrtc_logging_handler_host.h"
+#include "chrome/browser/media/webrtc_logging_handler_host.h"
#include "base/bind.h"
#include "base/logging.h"
-#include "content/common/media/webrtc_logging_messages.h"
+#include "chrome/common/media/webrtc_logging_messages.h"
-namespace content {
+using content::BrowserThread;
#if defined(OS_ANDROID)
const size_t kWebRtcLogSize = 1 * 1024 * 1024; // 1 MB
@@ -23,7 +23,7 @@ WebRtcLoggingHandlerHost::~WebRtcLoggingHandlerHost() {
}
void WebRtcLoggingHandlerHost::OnChannelClosing() {
- BrowserMessageFilter::OnChannelClosing();
+ content::BrowserMessageFilter::OnChannelClosing();
}
void WebRtcLoggingHandlerHost::OnDestruct() const {
@@ -64,5 +64,3 @@ void WebRtcLoggingHandlerHost::OnOpenLog(const std::string& app_session_id,
app_url_ = app_url;
Send(new WebRtcLoggingMsg_LogOpened(foreign_memory_handle, kWebRtcLogSize));
}
-
-} // namespace content
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698