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

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

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/content_notification_types.h ('k') | content/common/media/media_stream_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/media_stream_options.h
===================================================================
--- content/common/media/media_stream_options.h (revision 98481)
+++ content/common/media/media_stream_options.h (working copy)
@@ -42,14 +42,14 @@
// StreamDeviceInfo describes information about a device.
struct StreamDeviceInfo {
+ static const int kNoId;
+
StreamDeviceInfo();
StreamDeviceInfo(MediaStreamType service_param,
const std::string& name_param,
const std::string& device_param,
bool opened);
- enum { kNoId = -1 };
-
// Describes the capture type.
MediaStreamType stream_type;
// Friendly name of the device.
« no previous file with comments | « content/common/content_notification_types.h ('k') | content/common/media/media_stream_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698