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

Unified Diff: content/public/browser/render_process_host.h

Issue 381683003: Fix enable_webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix when enable_webrtc = 0, and fix the file indentation Created 6 years, 5 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 | « content/content_tests.gypi ('k') | content/shell/renderer/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index ee650367fccb1cd2dcfc0f4a26ecc0e8ab6dd14f..1e0e5ba02708e822f556fbe978019c29a8820117 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -198,6 +198,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// |empty_allowed| must be set to false for navigations for security reasons.
virtual void FilterURL(bool empty_allowed, GURL* url) = 0;
+ typedef base::Callback<void(scoped_ptr<uint8[]> packet_header,
jam 2014/07/15 02:05:43 why move this out instead of ifdef'ing out the cod
zhaoze.zhou 2014/07/15 13:21:21 In file included from ../../content/browser/render
jam 2014/07/15 16:20:39 seems like "#if defined(ENABLE_WEBRTC)" should be
+ size_t header_length,
+ size_t packet_length,
+ bool incoming)> WebRtcRtpPacketCallback;
+
#if defined(ENABLE_WEBRTC)
virtual void EnableAecDump(const base::FilePath& file) = 0;
virtual void DisableAecDump() = 0;
@@ -208,11 +213,6 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
virtual void SetWebRtcLogMessageCallback(
base::Callback<void(const std::string&)> callback) = 0;
- typedef base::Callback<void(scoped_ptr<uint8[]> packet_header,
- size_t header_length,
- size_t packet_length,
- bool incoming)> WebRtcRtpPacketCallback;
-
typedef base::Callback<void(bool incoming, bool outgoing)>
WebRtcStopRtpDumpCallback;
« no previous file with comments | « content/content_tests.gypi ('k') | content/shell/renderer/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698