Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: ppapi/shared_impl/ppapi_constants.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/shared_impl/platform_file.cc ('k') | ppapi/shared_impl/ppapi_globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ppapi/shared_impl/ppapi_shared_export.h" 9 #include "ppapi/shared_impl/ppapi_shared_export.h"
9 10
10 namespace ppapi { 11 namespace ppapi {
11 12
12 // 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
13 // 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
14 // used to kill inactive plugins by the embedder host. 15 // used to kill inactive plugins by the embedder host.
15 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000; 16 const unsigned kKeepaliveThrottleIntervalDefaultMilliseconds = 5000;
16 17
17 #if defined(OS_WIN) 18 #if defined(OS_WIN)
18 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll"; 19 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.dll";
19 #elif defined(OS_MACOSX) 20 #elif defined(OS_MACOSX)
20 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin"; 21 const char kPowerSaverTestPluginName[] = "power_saver_test_plugin.plugin";
21 #elif defined(OS_POSIX) 22 #elif defined(OS_POSIX)
22 const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so"; 23 const char kPowerSaverTestPluginName[] = "libpower_saver_test_plugin.so";
23 #endif 24 #endif
24 25
25 } // namespace ppapi 26 } // namespace ppapi
26 27
27 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_ 28 #endif // PPAPI_SHARED_IMPL_PPAPI_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/platform_file.cc ('k') | ppapi/shared_impl/ppapi_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698