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

Unified Diff: content/common/sandbox_linux/sandbox_linux.h

Issue 291063002: Fix misuses of DISALLOW_IMPLICIT_CONSTRUCTORS() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort declarations according to Google style guide Created 6 years, 7 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/trap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/sandbox_linux.h
diff --git a/content/common/sandbox_linux/sandbox_linux.h b/content/common/sandbox_linux/sandbox_linux.h
index 4f0a680d79eacf6e6481f0900851f520968ec323..8ff42dfc885302dded01e24d1f31f167dc794661 100644
--- a/content/common/sandbox_linux/sandbox_linux.h
+++ b/content/common/sandbox_linux/sandbox_linux.h
@@ -85,6 +85,9 @@ class LinuxSandbox {
private:
friend struct DefaultSingletonTraits<LinuxSandbox>;
+ LinuxSandbox();
+ ~LinuxSandbox();
+
// Some methods are static and get an instance of the Singleton. These
// are the non-static implementations.
bool InitializeSandboxImpl();
@@ -118,8 +121,7 @@ class LinuxSandbox {
bool yama_is_enforcing_; // Accurate if pre_initialized_.
scoped_ptr<sandbox::SetuidSandboxClient> setuid_sandbox_client_;
- ~LinuxSandbox();
- DISALLOW_IMPLICIT_CONSTRUCTORS(LinuxSandbox);
+ DISALLOW_COPY_AND_ASSIGN(LinuxSandbox);
};
} // namespace content
« no previous file with comments | « no previous file | sandbox/linux/seccomp-bpf/trap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698