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

Side by Side Diff: content/browser/media/webrtc_internals_message_handler.h

Issue 129533003: Remove the RTP recording related code from webrtc-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_ 6 #define CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/browser/media/webrtc_internals_ui_observer.h" 9 #include "content/browser/media/webrtc_internals_ui_observer.h"
10 #include "content/public/browser/web_ui_message_handler.h" 10 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 15 matching lines...) Expand all
26 // WebUIMessageHandler implementation. 26 // WebUIMessageHandler implementation.
27 virtual void RegisterMessages() OVERRIDE; 27 virtual void RegisterMessages() OVERRIDE;
28 28
29 // WebRTCInternalsUIObserver override. 29 // WebRTCInternalsUIObserver override.
30 virtual void OnUpdate(const std::string& command, 30 virtual void OnUpdate(const std::string& command,
31 const base::Value* args) OVERRIDE; 31 const base::Value* args) OVERRIDE;
32 32
33 private: 33 private:
34 // Javascript message handler. 34 // Javascript message handler.
35 void OnGetAllStats(const base::ListValue* list); 35 void OnGetAllStats(const base::ListValue* list);
36 void OnStartRtpRecording(const base::ListValue* list);
37 void OnStopRtpRecording(const base::ListValue* list);
38 void OnSetAecRecordingEnabled(bool enable, const base::ListValue* list); 36 void OnSetAecRecordingEnabled(bool enable, const base::ListValue* list);
39 void OnDOMLoadDone(const base::ListValue* list); 37 void OnDOMLoadDone(const base::ListValue* list);
40 38
41 DISALLOW_COPY_AND_ASSIGN(WebRTCInternalsMessageHandler); 39 DISALLOW_COPY_AND_ASSIGN(WebRTCInternalsMessageHandler);
42 }; 40 };
43 41
44 } // namespace content 42 } // namespace content
45 43
46 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_ 44 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_INTERNALS_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_internals.cc ('k') | content/browser/media/webrtc_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698