OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 MEDIA_CDM_CDM_PATHS_H_ | |
6 #define MEDIA_CDM_CDM_PATHS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/files/file_path.h" | |
11 #include "media/base/media_export.h" | |
12 | |
13 namespace media { | |
14 | |
15 // Returns the platform specific relative path of a component CDM. When CDM is | |
ddorwin
2016/05/19 00:04:26
...path of the CDM. When...
It's always the path,
xhwang
2016/05/20 00:22:35
Done.
| |
16 // not a component, returns an empty path. Otherwise, returns | |
17 // |cdm_base_path|/_platform_specific/<platform>_<arch> | |
18 // e.g. WidevineCdm/_platform_specific/win_x64 | |
19 // TODO(xhwang): Use this function in Widevine CDM component installer. | |
20 MEDIA_EXPORT base::FilePath GetPlatformSpecificDirectory( | |
21 const std::string& cdm_base_path); | |
22 | |
23 } // namespace media | |
24 | |
25 #endif // MEDIA_CDM_CDM_PATHS_H_ | |
OLD | NEW |