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

Unified Diff: sandbox/linux/seccomp-bpf/codegen.h

Issue 652123002: sandbox_bpf: Remove Traverse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | sandbox/linux/seccomp-bpf/codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/codegen.h
diff --git a/sandbox/linux/seccomp-bpf/codegen.h b/sandbox/linux/seccomp-bpf/codegen.h
index 078cf3cedb7e218bc469962aa3c2b9f4d1dc79fc..6081138ebe5ab92c7d13490313519cc49d4f2fc3 100644
--- a/sandbox/linux/seccomp-bpf/codegen.h
+++ b/sandbox/linux/seccomp-bpf/codegen.h
@@ -72,14 +72,6 @@ class SANDBOX_EXPORT CodeGen {
Instruction* jt,
Instruction* jf);
- // Traverse the graph of instructions and visit each instruction once.
- // Traversal order is implementation-defined. It is acceptable to make
- // changes to the graph from within the callback function. These changes
- // do not affect traversal.
- // The "fnc" function gets called with both the instruction and the opaque
- // "aux" pointer.
- void Traverse(Instruction*, void (*fnc)(Instruction*, void* aux), void* aux);
-
// Compiles the graph of instructions into a BPF program that can be passed
// to the kernel. Please note that this function modifies the graph in place
// and must therefore only be called once per graph.
« no previous file with comments | « no previous file | sandbox/linux/seccomp-bpf/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698