OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ |
6 #define PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ | 6 #define PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ppapi/shared_impl/ppapi_shared_export.h" | 9 #include "ppapi/shared_impl/ppapi_shared_export.h" |
10 | 10 |
11 namespace ppapi { | 11 namespace ppapi { |
12 | 12 |
13 // Default interval to space out IPC messages sent indicating that a plugin is | 13 // Default interval to space out IPC messages sent indicating that a plugin is |
14 // active and should be kept alive. The value must be smaller than any threshold | 14 // active and should be kept alive. The value must be smaller than any threshold |
15 // used to kill inactive plugins by the embedder host. | 15 // used to kill inactive plugins by the embedder host. |
16 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; | 16 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; |
17 | 17 |
18 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
19 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll"; | 19 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll"; |
20 #elif defined(OS_MACOSX) | 20 #elif defined(OS_MACOSX) |
21 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin"; | 21 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin"; |
22 #elif defined(OS_POSIX) | 22 #elif defined(OS_POSIX) |
23 const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so"; | 23 const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so"; |
24 #endif | 24 #endif |
25 | 25 |
| 26 // Name of the root directory in the plugin private file system. |
| 27 const char kPluginPrivateRootName[] = "pluginprivate"; |
| 28 |
26 } // namespace ppapi | 29 } // namespace ppapi |
27 | 30 |
28 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ | 31 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ |
OLD | NEW |