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 | |
12 namespace media { | |
13 | |
14 // Returns the relative path of a component CDM. On platforms where a platform | |
ddorwin
2016/05/20 04:08:56
Drop "component" from the first sentence.
Perhaps
xhwang
2016/05/20 07:18:19
Done, though DIR_COMPONENTS is really a "chrome" c
| |
15 // specific path is used, returns | |
16 // |cdm_base_path|/_platform_specific/<platform>_<arch> | |
17 // e.g. WidevineCdm/_platform_specific/win_x64 | |
18 // Otherwise, returns an empty path. | |
19 // TODO(xhwang): Use this function in Widevine CDM component installer. | |
20 base::FilePath GetPlatformSpecificDirectory(const std::string& cdm_base_path); | |
21 | |
22 } // namespace media | |
23 | |
24 #endif // MEDIA_CDM_CDM_PATHS_H_ | |
OLD | NEW |