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

Side by Side Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.h

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void DevicesEnumerated(int render_view_id, 48 virtual void DevicesEnumerated(int render_view_id,
49 int page_request_id, 49 int page_request_id,
50 const std::string& label, 50 const std::string& label,
51 const StreamDeviceInfoArray& devices) OVERRIDE; 51 const StreamDeviceInfoArray& devices) OVERRIDE;
52 virtual void DeviceOpened(int render_view_id, 52 virtual void DeviceOpened(int render_view_id,
53 int page_request_id, 53 int page_request_id,
54 const std::string& label, 54 const std::string& label,
55 const StreamDeviceInfo& video_device) OVERRIDE; 55 const StreamDeviceInfo& video_device) OVERRIDE;
56 56
57 // BrowserMessageFilter implementation. 57 // BrowserMessageFilter implementation.
58 virtual bool OnMessageReceived(const IPC::Message& message, 58 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
59 bool* message_was_ok) OVERRIDE;
60 virtual void OnChannelClosing() OVERRIDE; 59 virtual void OnChannelClosing() OVERRIDE;
61 60
62 protected: 61 protected:
63 virtual ~MediaStreamDispatcherHost(); 62 virtual ~MediaStreamDispatcherHost();
64 63
65 private: 64 private:
66 friend class MockMediaStreamDispatcherHost; 65 friend class MockMediaStreamDispatcherHost;
67 66
68 void OnGenerateStream(int render_view_id, 67 void OnGenerateStream(int render_view_id,
69 int page_request_id, 68 int page_request_id,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 int render_process_id_; 100 int render_process_id_;
102 ResourceContext::SaltCallback salt_callback_; 101 ResourceContext::SaltCallback salt_callback_;
103 MediaStreamManager* media_stream_manager_; 102 MediaStreamManager* media_stream_manager_;
104 103
105 DISALLOW_COPY_AND_ASSIGN(MediaStreamDispatcherHost); 104 DISALLOW_COPY_AND_ASSIGN(MediaStreamDispatcherHost);
106 }; 105 };
107 106
108 } // namespace content 107 } // namespace content
109 108
110 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_ 109 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698