summaryrefslogtreecommitdiffstats
path: root/chrome/common/pepper_flash.h
blob: f1756e75db39ac471fd2ae982ca664d4ffee0c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2012 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.

#ifndef CHROME_COMMON_PEPPER_FLASH_H_
#define CHROME_COMMON_PEPPER_FLASH_H_

#include <stdint.h>

#include "base/values.h"
#include "base/version.h"

namespace chrome {
// Permission bits for Pepper Flash.
extern const int32_t kPepperFlashPermissions;

// Returns true if this browser is compatible with the given Pepper Flash
// manifest, with the version specified in the manifest in |version_out|.
bool CheckPepperFlashManifest(const base::DictionaryValue& manifest,
                              base::Version* version_out);
}  // namespace chrome

#endif  // CHROME_COMMON_PEPPER_FLASH_H_