diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-10 22:18:42 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-10 22:18:42 +0000 |
commit | 2980768633ff5144fe6e7902abb39b8ff1740baa (patch) | |
tree | 5e99302565a71d9a76f2580b02be6f1b678f6e56 /sandbox/linux/seccomp-bpf/codegen_unittest.cc | |
parent | e91eae91d6330a50d227d1629d00d599f189f3d8 (diff) | |
download | chromium_src-2980768633ff5144fe6e7902abb39b8ff1740baa.zip chromium_src-2980768633ff5144fe6e7902abb39b8ff1740baa.tar.gz chromium_src-2980768633ff5144fe6e7902abb39b8ff1740baa.tar.bz2 |
Linux sandbox: cleanup sandbox-bpf naming.
1. Rename playground2 namespace to sandbox.
The playground2 namespace is confusing and against the style guide.
We rename it to sandbox, like the rest of sandbox/linux/.
2. Rename the "Sandbox" class to "SandboxBPF".
BUG=325535
R=rsesek@chromium.org
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/101773003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/linux/seccomp-bpf/codegen_unittest.cc')
-rw-r--r-- | sandbox/linux/seccomp-bpf/codegen_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sandbox/linux/seccomp-bpf/codegen_unittest.cc b/sandbox/linux/seccomp-bpf/codegen_unittest.cc index ccc5656..0539a0d 100644 --- a/sandbox/linux/seccomp-bpf/codegen_unittest.cc +++ b/sandbox/linux/seccomp-bpf/codegen_unittest.cc @@ -12,11 +12,11 @@ #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h" #include "sandbox/linux/tests/unit_tests.h" -namespace playground2 { +namespace sandbox { -class SandboxUnittestHelper : public Sandbox { +class SandboxUnittestHelper : public SandboxBPF { public: - typedef Sandbox::Program Program; + typedef SandboxBPF::Program Program; }; // We want to access some of the private methods in the code generator. We @@ -444,4 +444,4 @@ SANDBOX_TEST(CodeGen, All) { ForAllPrograms(CompileAndCompare); } -} // namespace playground2 +} // namespace sandbox |