Stop retring GCM unregistration requests after reaching maximum number
[chromium-blink-merge.git] / ppapi / shared_impl / ppapi_constants.h
blobd5b71aadb958b050a5b8f58665c0f819d576fa17
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.
5 #ifndef PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
6 #define PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
8 #include "ppapi/shared_impl/ppapi_shared_export.h"
10 namespace ppapi {
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;
17 #if defined(OS_WIN)
18 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll";
19 #elif defined(OS_MACOSX)
20 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin";
21 #elif defined(OS_POSIX)
22 const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so";
23 #endif
25 } // namespace ppapi
27 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_