
NaCl modules used to dispatch regular IPCs to the browser, to boost the app/extension background page's keep-alive count for a short while. The IPCs were triggered by PPAPI calls being initiated by the module. Issue 472532 introduced a separate mechanism which keeps the background page alive so long as any NaCl module is loaded, regardless of whether or not the module is active, rendering the keep-alive impulse IPCs redundant. BUG=412621,331954,332440,490440,346278 Review-Url: https://codereview.chromium.org/2762513002 Cr-Commit-Position: refs/heads/master@{#459689}
27 lines
850 B
C++
27 lines
850 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
|
|
#define PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
|
|
|
|
#include "build/build_config.h"
|
|
#include "ppapi/shared_impl/ppapi_shared_export.h"
|
|
|
|
namespace ppapi {
|
|
|
|
#if defined(OS_WIN)
|
|
const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll";
|
|
#elif defined(OS_MACOSX)
|
|
const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin";
|
|
#elif defined(OS_POSIX)
|
|
const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so";
|
|
#endif
|
|
|
|
// Name of the root directory in the plugin private file system.
|
|
const char kPluginPrivateRootName[] = "pluginprivate";
|
|
|
|
} // namespace ppapi
|
|
|
|
#endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
|