Make perftimer and run_all_perftests compile on Posix. Stub out a few things into process_util_posix, and add a function to raise to a high priority.
BUG=1343318
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1438 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/process_util.h b/base/process_util.h
index 978da42c..6c26a402 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -5,8 +5,8 @@
// This file/namespace contains utility functions for enumerating, ending and
// computing statistics of processes.
-#ifndef BASE_PROCESS_UTIL_H__
-#define BASE_PROCESS_UTIL_H__
+#ifndef BASE_PROCESS_UTIL_H_
+#define BASE_PROCESS_UTIL_H_
#include "base/basictypes.h"
@@ -257,8 +257,10 @@
// Note: Returns true on Windows 2000 without doing anything.
bool EnableLowFragmentationHeap();
+// If supported on the platform, and the user has sufficent rights, increase
+// the current process's scheduling priority to a high priority.
+void RaiseProcessToHighPriority();
+
} // namespace process_util
-
-#endif // BASE_PROCESS_UTIL_H__
-
+#endif // BASE_PROCESS_UTIL_H_