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

Unified Diff: sandbox/mac/seatbelt.h

Issue 2369553002: Suppress sandbox deprecation warnings by using the Seatbelt wrapper. (Closed)
Patch Set: 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
Index: sandbox/mac/seatbelt.h
diff --git a/sandbox/mac/seatbelt.h b/sandbox/mac/seatbelt.h
index c5dd386bfe2d4f6a573ceb486a8dc023b8b5b2b1..01ac053ce6bbe0a3d4f4ec93fb2ce82cf4c265e8 100644
--- a/sandbox/mac/seatbelt.h
+++ b/sandbox/mac/seatbelt.h
@@ -26,6 +26,16 @@ class SEATBELT_EXPORT Seatbelt {
static void FreeError(char* errorbuf);
+ static const char* ProfileNoInternet();
Robert Sesek 2016/09/23 19:08:47 Do these need to be functions, or can they be stat
Greg K 2016/09/23 20:32:05 Done.
+
+ static const char* ProfileNoNetwork();
+
+ static const char* ProfileNoWrite();
+
+ static const char* ProfileNoWriteExceptTemporary();
+
+ static const char* ProfilePureComputation();
+
private:
Seatbelt();
DISALLOW_COPY_AND_ASSIGN(Seatbelt);

Powered by Google App Engine
This is Rietveld 408576698