summaryrefslogtreecommitdiffstats
path: root/chrome/common/widevine_cdm_constants.cc
blob: 8d5670e411700460b923f0a84c1d3d616a0a52a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/widevine_cdm_constants.h"

#include "build/build_config.h"
#include "ppapi/shared_impl/ppapi_permissions.h"

const base::FilePath::CharType kWidevineCdmBaseDirectory[] =
    FILE_PATH_LITERAL("WidevineCDM");

const char kWidevineCdmPluginExtension[] = "";

const int32 kWidevineCdmPluginPermissions = ppapi::PERMISSION_DEV |
#if defined(OS_CHROMEOS)
// TODO(xhwang): Make permission requirements the same on all OS.
// See http://crbug.com/222252
                                            ppapi::PERMISSION_FLASH |
#endif  // !defined(OS_CHROMEOS)
                                            ppapi::PERMISSION_PRIVATE;