OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_ | |
6 #define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "third_party/WebKit/public/platform/WebMediaSession.h" | |
10 | |
11 namespace content { | |
12 | |
13 class RendererWebMediaSessionImpl : public blink::WebMediaSession { | |
mcasas
2015/07/31 14:14:28
I don't think the prefix "renderer" is needed in e
| |
14 public: | |
15 RendererWebMediaSessionImpl(); | |
16 virtual ~RendererWebMediaSessionImpl(); | |
17 | |
18 // blink::WebMediaSession implementation. | |
19 virtual void activate(); | |
whywhat
2015/07/30 14:31:22
nit: we use "override" instead of "virtual" in Chr
philipj_slow
2015/07/30 14:47:04
Oops, copypasta.
mlamouri (slow - plz ping)
2015/08/05 15:50:16
We don't actually use override when overriding Bli
| |
20 virtual void deactivate(); | |
21 | |
22 private: | |
23 | |
mlamouri (slow - plz ping)
2015/08/05 15:50:16
nit: remove empty line
| |
24 DISALLOW_COPY_AND_ASSIGN(RendererWebMediaSessionImpl); | |
25 }; | |
26 | |
27 } // namespace content | |
28 | |
29 #endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_ | |
OLD | NEW |