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

Unified Diff: chrome/utility/chrome_content_utility_ipc_whitelist.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds the elevation flag to the utility process. Created 6 years, 10 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: chrome/utility/chrome_content_utility_ipc_whitelist.h
diff --git a/chrome/utility/chrome_content_utility_ipc_whitelist.h b/chrome/utility/chrome_content_utility_ipc_whitelist.h
new file mode 100644
index 0000000000000000000000000000000000000000..189ec308ce163802a3edf78ae3a60aab11b5db47
--- /dev/null
+++ b/chrome/utility/chrome_content_utility_ipc_whitelist.h
@@ -0,0 +1,21 @@
+// 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 CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_
+#define CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_
+
+#include "base/basictypes.h"
+
+namespace chrome {
+
+// This array contains the list of IPC messages that the utility process will
+// accept when running with elevated privileges. When new messages need to run
+// with elevated privileges, add them here and be sure to add a security
+// reviewer.
+extern const uint32 kMessageWhitelist[];
+extern const size_t kMessageWhitelistSize;
+
+} // namespace chrome
+
+#endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/chrome_content_utility_ipc_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698