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

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

Issue 2582463003: media: Verify CDM Host files (Closed)
Patch Set: Created 4 years 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
OLDNEW
(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 CDM_CONTENT_DECRYPTION_MODULE_EXPORT_H_
6 #define CDM_CONTENT_DECRYPTION_MODULE_EXPORT_H_
xhwang 2016/12/16 01:06:55 This will be shared by cdm.h and cdm_ext.h.
7
8 // Define CDM_API so that functionality implemented by the CDM module
9 // can be exported to consumers.
10 #if defined(WIN32)
11
12 #if defined(CDM_IMPLEMENTATION)
13 #define CDM_API __declspec(dllexport)
14 #else
15 #define CDM_API __declspec(dllimport)
16 #endif // defined(CDM_IMPLEMENTATION)
17
18 #else // defined(WIN32)
19 #define CDM_API __attribute__((visibility("default")))
20 #endif // defined(WIN32)
21
22 #endif // CDM_CONTENT_DECRYPTION_MODULE_EXPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698