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

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

Issue 2721113002: getUserMedia: handle the device starting status report. (Closed)
Patch Set: address nits Created 3 years, 9 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) 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 void StoreRequest(int render_frame_id, 85 void StoreRequest(int render_frame_id,
86 int page_request_id, 86 int page_request_id,
87 const std::string& label); 87 const std::string& label);
88 88
89 // IPC message handler: Set if the video capturing is secure. 89 // IPC message handler: Set if the video capturing is secure.
90 void OnSetCapturingLinkSecured(int session_id, 90 void OnSetCapturingLinkSecured(int session_id,
91 content::MediaStreamType type, 91 content::MediaStreamType type,
92 bool is_secure); 92 bool is_secure);
93 93
94 void OnStreamStarted(const std::string& label);
95
94 int render_process_id_; 96 int render_process_id_;
95 std::string salt_; 97 std::string salt_;
96 MediaStreamManager* media_stream_manager_; 98 MediaStreamManager* media_stream_manager_;
97 99
98 DISALLOW_COPY_AND_ASSIGN(MediaStreamDispatcherHost); 100 DISALLOW_COPY_AND_ASSIGN(MediaStreamDispatcherHost);
99 }; 101 };
100 102
101 } // namespace content 103 } // namespace content
102 104
103 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_ 105 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698