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

Side by Side Diff: ash/common/media_delegate.h

Issue 2538113005: mash: Move session_types.h to ash/public (Closed)
Patch Set: fix gn deps Created 4 years 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
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/session/session_state_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 ASH_COMMON_MEDIA_DELEGATE_H_ 5 #ifndef ASH_COMMON_MEDIA_DELEGATE_H_
6 #define ASH_COMMON_MEDIA_DELEGATE_H_ 6 #define ASH_COMMON_MEDIA_DELEGATE_H_
7 7
8 #include "ash/common/session/session_types.h" 8 #include "ash/public/cpp/session_types.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 enum MediaCaptureState { 12 enum MediaCaptureState {
13 MEDIA_CAPTURE_NONE = 0, 13 MEDIA_CAPTURE_NONE = 0,
14 MEDIA_CAPTURE_AUDIO = 1 << 0, 14 MEDIA_CAPTURE_AUDIO = 1 << 0,
15 MEDIA_CAPTURE_VIDEO = 1 << 1, 15 MEDIA_CAPTURE_VIDEO = 1 << 1,
16 MEDIA_CAPTURE_AUDIO_VIDEO = MEDIA_CAPTURE_AUDIO | MEDIA_CAPTURE_VIDEO, 16 MEDIA_CAPTURE_AUDIO_VIDEO = MEDIA_CAPTURE_AUDIO | MEDIA_CAPTURE_VIDEO,
17 }; 17 };
18 18
(...skipping 12 matching lines...) Expand all
31 virtual void HandleMediaPrevTrack() = 0; 31 virtual void HandleMediaPrevTrack() = 0;
32 32
33 // Returns the current media recording state of web contents that belongs to 33 // Returns the current media recording state of web contents that belongs to
34 // the the user @ |index|. See session_types.h for a description of UserIndex. 34 // the the user @ |index|. See session_types.h for a description of UserIndex.
35 virtual MediaCaptureState GetMediaCaptureState(UserIndex index) = 0; 35 virtual MediaCaptureState GetMediaCaptureState(UserIndex index) = 0;
36 }; 36 };
37 37
38 } // namespace ash 38 } // namespace ash
39 39
40 #endif // ASH_COMMON_MEDIA_DELEGATE_H_ 40 #endif // ASH_COMMON_MEDIA_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/session/session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698