Chromium Code Reviews| Index: chromecast/public/cast_media_shlib.h |
| diff --git a/chromecast/public/cast_media_shlib.h b/chromecast/public/cast_media_shlib.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..86d59b1770f4e9cc643c07353cd3aa13c31013d8 |
| --- /dev/null |
| +++ b/chromecast/public/cast_media_shlib.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |
| +#define CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "chromecast_export.h" |
| + |
| +namespace chromecast { |
| + |
|
erickung1
2015/05/13 16:48:07
namespace media {
Since most our media code are u
halliwell
2015/05/13 17:02:20
I half-remember a discussion about whether to put
lcwu1
2015/05/13 17:08:57
I don't remember a discussion on what namespace(s)
|
| +class CHROMECAST_EXPORT CastMediaShlib { |
| + public: |
| + // Performs platform-specific one-time initialization for media systems and |
| + // hardware resources. Called at startup in browser process before main |
| + // message loop begins. |
| + static void Initialize(const std::vector<std::string>& argv); |
| + |
| + // Performs platform-specific one-time teardown of media systems and hardware |
| + // resources. Called at browser process exit. |
| + static void Finalize(); |
| +}; |
| + |
| +} // namespace chromecast |
| + |
| +#endif // CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |