summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/pepper_flash.h
blob: e404dac24ad7329ec28e463a8bbad832d932af81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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"

// 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);

// Returns true if the version of Flash installed on the system is the Flash
// Script debugger.
bool IsSystemFlashScriptDebuggerPresent();

#endif  // CHROME_COMMON_PEPPER_FLASH_H_