| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "base/version.h" | 11 #include "base/version.h" |
| 12 | 12 |
| 13 namespace chrome { | 13 namespace chrome { |
| 14 // Permission bits for Pepper Flash. | 14 // Permission bits for Pepper Flash. |
| 15 extern const int32_t kPepperFlashPermissions; | 15 extern const int32_t kPepperFlashPermissions; |
| 16 | 16 |
| 17 // 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 |
| 18 // manifest, with the version specified in the manifest in |version_out|. | 18 // manifest, with the version specified in the manifest in |version_out|. |
| 19 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, | 19 bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, |
| 20 base::Version* version_out); | 20 base::Version* version_out); |
| 21 |
| 22 // Returns true if the version of Flash installed on the system is the Flash |
| 23 // Script debugger. |
| 24 bool IsSystemFlashScriptDebuggerPresent(); |
| 25 |
| 21 } // namespace chrome | 26 } // namespace chrome |
| 22 | 27 |
| 23 #endif // CHROME_COMMON_PEPPER_FLASH_H_ | 28 #endif // CHROME_COMMON_PEPPER_FLASH_H_ |
| OLD | NEW |