Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Side by Side Diff: chrome/common/pepper_flash.h

Issue 1867833003: Prefer System Flash over non-local component updated Flash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | chrome/common/pepper_flash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client_unittest.cc ('k') | chrome/common/pepper_flash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698