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

Side by Side Diff: chrome/common/media_router/media_status.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 CHROME_BROWSER_MEDIA_ROUTER_MEDIA_STATUS_H_ 5 #ifndef CHROME_COMMON_MEDIA_ROUTER_MEDIA_STATUS_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_STATUS_H_ 6 #define CHROME_COMMON_MEDIA_ROUTER_MEDIA_STATUS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 11
12 namespace media_router { 12 namespace media_router {
13 13
14 // Represents the current state of a media content. 14 // Represents the current state of a media content.
15 struct MediaStatus { 15 struct MediaStatus {
16 public: 16 public:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // The length of the media. A value of zero indicates that this is a media 53 // The length of the media. A value of zero indicates that this is a media
54 // with no set duration (e.g. a live stream). 54 // with no set duration (e.g. a live stream).
55 base::TimeDelta duration; 55 base::TimeDelta duration;
56 56
57 // Current playback position. Must be less than or equal to |duration|. 57 // Current playback position. Must be less than or equal to |duration|.
58 base::TimeDelta current_time; 58 base::TimeDelta current_time;
59 }; 59 };
60 60
61 } // namespace media_router 61 } // namespace media_router
62 62
63 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_STATUS_H_ 63 #endif // CHROME_COMMON_MEDIA_ROUTER_MEDIA_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698