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

Unified Diff: ipc/ipc_send_fds_test.cc

Issue 2369553002: Suppress sandbox deprecation warnings by using the Seatbelt wrapper. (Closed)
Patch Set: Suppress sandbox deprecation warnings by using the Seatbelt wrapper. Created 4 years, 3 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
« no previous file with comments | « chrome/utility/safe_browsing/mac/crdmg.cc ('k') | sandbox/mac/seatbelt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_send_fds_test.cc
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc
index 033ae397e41ecbcef17870b9b5a6593f344b9abe..94a5a71744ab8a40a7ef93b792411e3e2c007bc8 100644
--- a/ipc/ipc_send_fds_test.cc
+++ b/ipc/ipc_send_fds_test.cc
@@ -196,8 +196,8 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(SendFdsSandboxedClient) {
// Enable the sandbox.
char* error_buff = NULL;
- int error = sandbox::Seatbelt::Init(kSBXProfilePureComputation, SANDBOX_NAMED,
- &error_buff);
+ int error = sandbox::Seatbelt::Init(
+ sandbox::Seatbelt::kProfilePureComputation, SANDBOX_NAMED, &error_buff);
bool success = (error == 0 && error_buff == NULL);
if (!success)
return -1;
« no previous file with comments | « chrome/utility/safe_browsing/mac/crdmg.cc ('k') | sandbox/mac/seatbelt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698