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 "ppapi/shared_impl/ppapi_shared_export.h" | 8 #include "ppapi/shared_impl/ppapi_shared_export.h" |
9 | 9 |
10 namespace ppapi { | 10 namespace ppapi { |
11 | 11 |
12 // Default interval to space out IPC messages sent indicating that a plugin is | 12 // Default interval to space out IPC messages sent indicating that a plugin is |
13 // active and should be kept alive. The value must be smaller than any threshold | 13 // active and should be kept alive. The value must be smaller than any threshold |
14 // used to kill inactive plugins by the embedder host. | 14 // used to kill inactive plugins by the embedder host. |
15 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; | 15 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; |
16 | 16 |
| 17 #if defined(OS_WIN) |
| 18 const char kPpapiTestLibraryName[] = "ppapi_tests.dll"; |
| 19 #elif defined(OS_MACOSX) |
| 20 const char kPpapiTestLibraryName[] = "ppapi_tests.plugin"; |
| 21 #elif defined(OS_POSIX) |
| 22 const char kPpapiTestLibraryName[] = "libppapi_tests.so"; |
| 23 #endif |
| 24 |
17 } // namespace ppapi | 25 } // namespace ppapi |
18 | 26 |
19 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ | 27 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ |
OLD | NEW |