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

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

Issue 11339014: Move content\browser\renderer_host\media to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/video_capture.h
===================================================================
--- content/common/media/video_capture.h (revision 164646)
+++ content/common/media/video_capture.h (working copy)
@@ -7,21 +7,21 @@
#ifndef CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
#define CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_
-namespace video_capture {
+namespace content {
// Current status of the video capture device. It's used by multiple classes
// in browser process and renderer process.
// Browser process sends information about the current capture state and
// error to the renderer process using this type.
-enum State {
- kStarting,
- kStarted,
- kPaused,
- kStopping,
- kStopped,
- kError,
+enum VideoCaptureState {
+ VIDEO_CAPTURE_STATE_STARTING,
tfarina 2012/10/29 17:41:34 nice!
+ VIDEO_CAPTURE_STATE_STARTED,
+ VIDEO_CAPTURE_STATE_PAUSED,
+ VIDEO_CAPTURE_STATE_STOPPING,
+ VIDEO_CAPTURE_STATE_STOPPED,
+ VIDEO_CAPTURE_STATE_ERROR,
};
-} // namespace video_capture
+} // namespace content
#endif // CONTENT_COMMON_MEDIA_VIDEO_CAPTURE_H_

Powered by Google App Engine
This is Rietveld 408576698