| 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 <stdint.h> |
| 9 |
| 9 #include "base/values.h" | 10 #include "base/values.h" |
| 10 #include "base/version.h" | 11 #include "base/version.h" |
| 11 | 12 |
| 12 namespace chrome { | 13 namespace chrome { |
| 13 // Permission bits for Pepper Flash. | 14 // Permission bits for Pepper Flash. |
| 14 extern const int32 kPepperFlashPermissions; | 15 extern const int32_t kPepperFlashPermissions; |
| 15 | 16 |
| 16 // Returns true if this browser is compatible with the given Pepper Flash | 17 // 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 // manifest, with the version specified in the manifest in |version_out|. |
| 18 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, | 19 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, |
| 19 base::Version* version_out); | 20 base::Version* version_out); |
| 20 } // namespace chrome | 21 } // namespace chrome |
| 21 | 22 |
| 22 #endif // CHROME_COMMON_PEPPER_FLASH_H_ | 23 #endif // CHROME_COMMON_PEPPER_FLASH_H_ |
| OLD | NEW |