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

Side by Side Diff: content/public/common/media_stream_request.h

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_
6 #define CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_ 6 #define CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // 0 if not applicable. 259 // 0 if not applicable.
260 virtual gfx::NativeViewId OnStarted(const base::Closure& stop) = 0; 260 virtual gfx::NativeViewId OnStarted(const base::Closure& stop) = 0;
261 }; 261 };
262 262
263 // Callback used return results of media access requests. 263 // Callback used return results of media access requests.
264 typedef base::Callback<void( 264 typedef base::Callback<void(
265 const MediaStreamDevices& devices, 265 const MediaStreamDevices& devices,
266 content::MediaStreamRequestResult result, 266 content::MediaStreamRequestResult result,
267 scoped_ptr<MediaStreamUI> ui)> MediaResponseCallback; 267 scoped_ptr<MediaStreamUI> ui)> MediaResponseCallback;
268 268
269 // Callback used return result of checking media access.
270 typedef base::Callback<void(bool result)> MediaAccessResponseCallback;
271
269 } // namespace content 272 } // namespace content
270 273
271 #endif // CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_ 274 #endif // CONTENT_PUBLIC_COMMON_MEDIA_STREAM_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698