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 { |
| + |
| +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 |
|
gunsch
2015/05/13 03:26:04
I think references to "browser process" here are i
halliwell
2015/05/13 03:43:33
True that it can be called in unit tests, but reme
|
| + // 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_ |