Chromium Code Reviews| Index: content/public/browser/media_session.cc |
| diff --git a/content/public/browser/media_session.cc b/content/public/browser/media_session.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bfb358b52a64cd85712a2fd52692dd8d76c03758 |
| --- /dev/null |
| +++ b/content/public/browser/media_session.cc |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2017 The Chromium Authors. All rights reserved. |
|
Zhiqiang Zhang (Slow)
2017/01/30 12:09:10
You can probably remove this file now.
derekjchow1
2017/02/01 01:22:18
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/public/browser/media_session.h" |
| + |
| +namespace content { |
| + |
| +MediaSession::MediaSession() {} |
|
mlamouri (slow - plz ping)
2017/01/28 02:01:40
= default;
derekjchow1
2017/02/01 01:22:18
Done.
|
| + |
| +MediaSession::~MediaSession() {} |
|
mlamouri (slow - plz ping)
2017/01/28 02:01:40
= default;
derekjchow1
2017/02/01 01:22:18
Done.
|
| + |
| +void MediaSession::AddObserver(MediaSessionObserver* observer) { |
| + observers_.AddObserver(observer); |
| +} |
| + |
| +void MediaSession::RemoveObserver(MediaSessionObserver* observer) { |
| + observers_.RemoveObserver(observer); |
| +} |
| + |
| +} // namespace content |