| Index: components/nacl/loader/nacl_fork_delegate_linux.cc
|
| diff --git a/chrome/app/nacl_fork_delegate_linux.cc b/components/nacl/loader/nacl_fork_delegate_linux.cc
|
| similarity index 96%
|
| rename from chrome/app/nacl_fork_delegate_linux.cc
|
| rename to components/nacl/loader/nacl_fork_delegate_linux.cc
|
| index 6f797cc3acd2a719ac7bb6c306ca9c9b2ba6dd3e..0b12d08a6a5458894fd47c8ce92c9fe147e491a1 100644
|
| --- a/chrome/app/nacl_fork_delegate_linux.cc
|
| +++ b/components/nacl/loader/nacl_fork_delegate_linux.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/app/nacl_fork_delegate_linux.h"
|
| +#include "components/nacl/common/nacl_fork_delegate_linux.h"
|
|
|
| #include <signal.h>
|
| #include <stdlib.h>
|
| @@ -20,9 +20,8 @@
|
| #include "base/posix/unix_domain_socket_linux.h"
|
| #include "base/process_util.h"
|
| #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
|
| -#include "chrome/common/chrome_paths.h"
|
| -#include "chrome/common/nacl_helper_linux.h"
|
| -#include "chrome/common/nacl_paths.h"
|
| +#include "components/nacl/common/nacl_helper_linux.h"
|
| +#include "components/nacl/common/nacl_paths.h"
|
| #include "components/nacl/common/nacl_switches.h"
|
|
|
| NaClForkDelegate::NaClForkDelegate()
|
| @@ -40,7 +39,7 @@ void NaClForkDelegate::Init(const int sandboxdesc) {
|
| int fds[2];
|
|
|
| // Confirm a hard-wired assumption.
|
| - // The NaCl constant is from chrome/nacl/nacl_linux_helper.h
|
| + // The NaCl constant is from components/nacl/loader/nacl_linux_helper.h
|
| DCHECK(kNaClSandboxDescriptor == sandboxdesc);
|
|
|
| CHECK(socketpair(PF_UNIX, SOCK_SEQPACKET, 0, fds) == 0);
|
|
|