Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: media/cdm/cdm_paths.h

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: comments addressed Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/media_switches.cc ('k') | media/cdm/cdm_paths.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CDM_CDM_PATHS_H_ 5 #ifndef MEDIA_CDM_CDM_PATHS_H_
6 #define MEDIA_CDM_CDM_PATHS_H_ 6 #define MEDIA_CDM_CDM_PATHS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 // Name of the ClearKey CDM library. 14 // Name of the ClearKey CDM library.
15 extern const char kClearKeyCdmLibraryName[]; 15 extern const char kClearKeyCdmLibraryName[];
16 16
17 // Platform-specific filename relative to kClearKeyCdmBaseDirectory.
18 extern const char kClearKeyCdmAdapterFileName[];
19
17 // Returns the path of a CDM relative to DIR_COMPONENTS. 20 // Returns the path of a CDM relative to DIR_COMPONENTS.
18 // On platforms where a platform specific path is used, returns 21 // On platforms where a platform specific path is used, returns
19 // |cdm_base_path|/_platform_specific/<platform>_<arch> 22 // |cdm_base_path|/_platform_specific/<platform>_<arch>
20 // e.g. WidevineCdm/_platform_specific/win_x64 23 // e.g. WidevineCdm/_platform_specific/win_x64
21 // Otherwise, returns an empty path. 24 // Otherwise, returns an empty path.
22 // TODO(xhwang): Use this function in Widevine CDM component installer. 25 // TODO(xhwang): Use this function in Widevine CDM component installer.
23 base::FilePath GetPlatformSpecificDirectory(const std::string& cdm_base_path); 26 base::FilePath GetPlatformSpecificDirectory(const std::string& cdm_base_path);
24 27
25 } // namespace media 28 } // namespace media
26 29
27 #endif // MEDIA_CDM_CDM_PATHS_H_ 30 #endif // MEDIA_CDM_CDM_PATHS_H_
OLDNEW
« no previous file with comments | « media/base/media_switches.cc ('k') | media/cdm/cdm_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698