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

Unified Diff: base/process/process_info.h

Issue 2961333002: Fix field trials not working in utility processes. (Closed)
Patch Set: review comment Created 3 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: base/process/process_info.h
diff --git a/base/process/process_info.h b/base/process/process_info.h
index fe03b9045e35074985f905437a5bb263eafdda88..5138e2475a97def18da143e0c10c26d01840ed72 100644
--- a/base/process/process_info.h
+++ b/base/process/process_info.h
@@ -31,6 +31,10 @@ enum IntegrityLevel {
// Returns the integrity level of the process. Returns INTEGRITY_UNKNOWN in the
// case of an underlying system failure.
BASE_EXPORT IntegrityLevel GetCurrentProcessIntegrityLevel();
+
+// Determines whether the current process is elevated.
+BASE_EXPORT bool IsCurrentProcessElevated();
+
#endif // defined(OS_WIN)
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698