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

Unified Diff: content/renderer/media/webrtc_logging_initializer_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: Fixed handler unit test. 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_initializer_impl.h
diff --git a/content/renderer/media/webrtc_logging_initializer_impl.h b/content/renderer/media/webrtc_logging_initializer_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..3917f5ce5749d6344e50593a4c6428693a8c3f1d
--- /dev/null
+++ b/content/renderer/media/webrtc_logging_initializer_impl.h
@@ -0,0 +1,25 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
jam 2013/05/29 17:56:19 it's odd that this file has _impl in its name alth
Henrik Grunell 2013/05/29 18:25:51 Done.
+// 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_INITIALIZER_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_INITIALIZER_IMPL_H_
+
+#include <string>
+
+#include "content/common/content_export.h"
+
+namespace content {
+
+class WebRtcLogMessageDelegate;
+
+// Must be called on IO thread.
+CONTENT_EXPORT void InitWebRtcLogging(const std::string& app_session_id,
jam 2013/05/29 17:56:19 you sure these two methods need to be exported?
Henrik Grunell 2013/05/29 18:25:51 Right, they don't need to.
+ const std::string& app_url);
+
+// May be called on any thread.
+CONTENT_EXPORT void WebRtcLogMessage(const std::string& message);
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_WEBRTC_LOGGING_INITIALIZER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698