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

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

Issue 1951013003: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's smart pointer fix Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_sandbox_ip c.md 5 // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_sandbox_ip c.md
6 6
7 #ifndef CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_ 7 #ifndef CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_
8 #define CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_ 8 #define CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/scoped_file.h" 13 #include "base/files/scoped_file.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/pickle.h" 15 #include "base/pickle.h"
16 #include "base/threading/simple_thread.h" 16 #include "base/threading/simple_thread.h"
17 #include "skia/ext/skia_utils_base.h" 17
18 class SkString;
18 19
19 namespace content { 20 namespace content {
20 21
21 class SandboxIPCHandler : public base::DelegateSimpleThread::Delegate { 22 class SandboxIPCHandler : public base::DelegateSimpleThread::Delegate {
22 public: 23 public:
23 // lifeline_fd: the read end of a pipe which the main thread holds 24 // lifeline_fd: the read end of a pipe which the main thread holds
24 // the other end of. 25 // the other end of.
25 // browser_socket: the browser's end of the sandbox IPC socketpair. 26 // browser_socket: the browser's end of the sandbox IPC socketpair.
26 SandboxIPCHandler(int lifeline_fd, int browser_socket); 27 SandboxIPCHandler(int lifeline_fd, int browser_socket);
27 ~SandboxIPCHandler() override; 28 ~SandboxIPCHandler() override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const int lifeline_fd_; 69 const int lifeline_fd_;
69 const int browser_socket_; 70 const int browser_socket_;
70 std::vector<SkString> paths_; 71 std::vector<SkString> paths_;
71 72
72 DISALLOW_COPY_AND_ASSIGN(SandboxIPCHandler); 73 DISALLOW_COPY_AND_ASSIGN(SandboxIPCHandler);
73 }; 74 };
74 75
75 } // namespace content 76 } // namespace content
76 77
77 #endif // CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_ 78 #endif // CONTENT_BROWSER_RENDERER_HOST_SANDBOX_IPC_LINUX_H_
OLDNEW
« no previous file with comments | « content/browser/media/capture/cursor_renderer_aura.cc ('k') | content/browser/renderer_host/sandbox_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698