OLD | NEW |
(Empty) | |
| 1 // Copyright 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 CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |
| 6 #define CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 #include "chromecast_export.h" |
| 12 |
| 13 namespace chromecast { |
| 14 namespace media { |
| 15 |
| 16 class CHROMECAST_EXPORT CastMediaShlib { |
| 17 public: |
| 18 // Performs platform-specific one-time initialization for media systems and |
| 19 // hardware resources. Called at startup in browser process before main |
| 20 // message loop begins. |
| 21 static void Initialize(const std::vector<std::string>& argv); |
| 22 |
| 23 // Performs platform-specific one-time teardown of media systems and hardware |
| 24 // resources. Called at browser process exit. |
| 25 static void Finalize(); |
| 26 }; |
| 27 |
| 28 } // namespace media |
| 29 } // namespace chromecast |
| 30 |
| 31 #endif // CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ |
OLD | NEW |