| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_COMMON_PEPPER_FLASH_H_ | 5 #ifndef CHROME_COMMON_PEPPER_FLASH_H_ |
| 6 #define CHROME_COMMON_PEPPER_FLASH_H_ | 6 #define CHROME_COMMON_PEPPER_FLASH_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/values.h" |
| 10 #include "base/version.h" |
| 9 | 11 |
| 12 namespace chrome { |
| 10 // Permission bits for Pepper Flash. | 13 // Permission bits for Pepper Flash. |
| 11 extern const int32 kPepperFlashPermissions; | 14 extern const int32 kPepperFlashPermissions; |
| 12 | 15 |
| 16 // Returns true if this browser is compatible with the given Pepper Flash |
| 17 // manifest, with the version specified in the manifest in |version_out|. |
| 18 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, |
| 19 base::Version* version_out); |
| 20 } // namespace chrome |
| 21 |
| 13 #endif // CHROME_COMMON_PEPPER_FLASH_H_ | 22 #endif // CHROME_COMMON_PEPPER_FLASH_H_ |
| OLD | NEW |