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

Unified Diff: content/common/media/media_stream_options.h

Issue 10830063: refactor EnumerateDevices to make it a persistent request. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
Index: content/common/media/media_stream_options.h
===================================================================
--- content/common/media/media_stream_options.h (revision 148913)
+++ content/common/media/media_stream_options.h (working copy)
@@ -39,6 +39,7 @@
const std::string& name_param,
const std::string& device_param,
bool opened);
+ bool operator==(const StreamDeviceInfo &other) const;
tommi (sloooow) - chröme 2012/07/30 12:10:21 See previous comments about this operator.
wjia(left Chromium) 2012/08/01 01:28:59 To explain why all fields are used for comparison:
// Describes the capture type.
MediaStreamType stream_type;

Powered by Google App Engine
This is Rietveld 408576698