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

Side by Side Diff: content/browser/renderer_host/render_sandbox_host_linux.h

Issue 291173009: SandboxIPCProcess: make shutdown mechanism explicit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | content/browser/renderer_host/render_sandbox_host_linux.cc » ('j') | 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 21 matching lines...) Expand all
32 return pid_; 32 return pid_;
33 } 33 }
34 void Init(); 34 void Init();
35 35
36 private: 36 private:
37 friend struct DefaultSingletonTraits<RenderSandboxHostLinux>; 37 friend struct DefaultSingletonTraits<RenderSandboxHostLinux>;
38 // This object must be constructed on the main thread. 38 // This object must be constructed on the main thread.
39 RenderSandboxHostLinux(); 39 RenderSandboxHostLinux();
40 ~RenderSandboxHostLinux(); 40 ~RenderSandboxHostLinux();
41 41
42 bool ShutdownIPCChannel();
43
42 // Whether Init() has been called yet. 44 // Whether Init() has been called yet.
43 bool initialized_; 45 bool initialized_;
44 46
45 int renderer_socket_; 47 int renderer_socket_;
46 int childs_lifeline_fd_; 48 int childs_lifeline_fd_;
47 pid_t pid_; 49 pid_t pid_;
48 50
49 DISALLOW_COPY_AND_ASSIGN(RenderSandboxHostLinux); 51 DISALLOW_COPY_AND_ASSIGN(RenderSandboxHostLinux);
50 }; 52 };
51 53
52 } // namespace content 54 } // namespace content
53 55
54 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_ 56 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_SANDBOX_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_sandbox_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698