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

Side by Side Diff: sandbox/linux/suid/client/setuid_sandbox_client.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/seccomp-bpf/trap.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_ 5 #ifndef SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_
6 #define SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_ 6 #define SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // (Keeping |dummy_fd| alive is an unfortunate historical artifact of the 85 // (Keeping |dummy_fd| alive is an unfortunate historical artifact of the
86 // chrome-sandbox ABI.) 86 // chrome-sandbox ABI.)
87 void SetupLaunchOptions(base::LaunchOptions* options, 87 void SetupLaunchOptions(base::LaunchOptions* options,
88 base::FileHandleMappingVector* fds_to_remap, 88 base::FileHandleMappingVector* fds_to_remap,
89 base::ScopedFD* dummy_fd); 89 base::ScopedFD* dummy_fd);
90 // Set-up the environment. This should be done prior to launching the setuid 90 // Set-up the environment. This should be done prior to launching the setuid
91 // helper. 91 // helper.
92 void SetupLaunchEnvironment(); 92 void SetupLaunchEnvironment();
93 93
94 private: 94 private:
95 SetuidSandboxClient();
96
95 // Holds the environment. Will never be NULL. 97 // Holds the environment. Will never be NULL.
96 base::Environment* env_; 98 base::Environment* env_;
97 bool sandboxed_; 99 bool sandboxed_;
98 DISALLOW_IMPLICIT_CONSTRUCTORS(SetuidSandboxClient); 100
101 DISALLOW_COPY_AND_ASSIGN(SetuidSandboxClient);
99 }; 102 };
100 103
101 } // namespace sandbox 104 } // namespace sandbox
102 105
103 #endif // SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_ 106 #endif // SANDBOX_LINUX_SUID_SETUID_SANDBOX_CLIENT_H_
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf/trap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698