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 #include "chrome/common/pepper_flash.h" | 5 #include "chrome/common/pepper_flash.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 return true; | 87 return true; |
88 #elif defined(OS_MACOSX) | 88 #elif defined(OS_MACOSX) |
89 return true; | 89 return true; |
90 #else | 90 #else |
91 return false; | 91 return false; |
92 #endif | 92 #endif |
93 } | 93 } |
94 | 94 |
95 int32 kPepperFlashPermissions = ppapi::PERMISSION_DEV | | 95 int32 kPepperFlashPermissions = ppapi::PERMISSION_DEV | |
96 ppapi::PERMISSION_PRIVATE | | 96 ppapi::PERMISSION_PRIVATE | |
97 ppapi::PERMISSION_BYPASS_USER_GESTURE; | 97 ppapi::PERMISSION_BYPASS_USER_GESTURE | |
| 98 ppapi::PERMISSION_FLASH; |
98 | 99 |
99 | 100 |
OLD | NEW |