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

Unified Diff: components/nacl/zygote/nacl_fork_delegate_linux.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/loader/nacl_validation_query_unittest.cc ('k') | components/nacl_common.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/zygote/nacl_fork_delegate_linux.cc
diff --git a/chrome/app/nacl_fork_delegate_linux.cc b/components/nacl/zygote/nacl_fork_delegate_linux.cc
similarity index 96%
rename from chrome/app/nacl_fork_delegate_linux.cc
rename to components/nacl/zygote/nacl_fork_delegate_linux.cc
index 6f797cc3acd2a719ac7bb6c306ca9c9b2ba6dd3e..0b12d08a6a5458894fd47c8ce92c9fe147e491a1 100644
--- a/chrome/app/nacl_fork_delegate_linux.cc
+++ b/components/nacl/zygote/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);
« no previous file with comments | « components/nacl/loader/nacl_validation_query_unittest.cc ('k') | components/nacl_common.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698