Chromium Code Reviews| 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 | |
| 15 class CHROMECAST_EXPORT CastMediaShlib { | |
| 16 public: | |
| 17 // Performs platform-specific one-time initialization for media systems and | |
| 18 // 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
| |
| 19 // message loop begins. | |
| 20 static void Initialize(const std::vector<std::string>& argv); | |
| 21 | |
| 22 // Performs platform-specific one-time teardown of media systems and hardware | |
| 23 // resources. Called at browser process exit. | |
| 24 static void Finalize(); | |
| 25 }; | |
| 26 | |
| 27 } // namespace chromecast | |
| 28 | |
| 29 #endif // CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_ | |
| OLD | NEW |