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 3 // found in the LICENSE file. 4 5 #ifndef PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ 6 #define PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ 7 8 #include "ppapi/shared_impl/ppapi_shared_export.h" 9 10 namespace ppapi { 11 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 14 // used to kill inactive plugins by the embedder host. 15 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; 16 17 } // namespace ppapi 18 19 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ 20