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

Side by Side Diff: content/zygote/zygote_main_linux.cc

Issue 2449873005: include boringssl headers from third_party explicitly (Closed)
Patch Set: review comments Created 4 years, 1 month 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 (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 #include "content/zygote/zygote_main.h" 5 #include "content/zygote/zygote_main.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <openssl/crypto.h>
10 #include <openssl/rand.h>
11 #include <pthread.h> 9 #include <pthread.h>
12 #include <signal.h> 10 #include <signal.h>
13 #include <stddef.h> 11 #include <stddef.h>
14 #include <stdint.h> 12 #include <stdint.h>
15 #include <string.h> 13 #include <string.h>
16 #include <sys/socket.h> 14 #include <sys/socket.h>
17 #include <sys/types.h> 15 #include <sys/types.h>
18 #include <unistd.h> 16 #include <unistd.h>
19 17
20 #include <memory> 18 #include <memory>
(...skipping 24 matching lines...) Expand all
45 #include "content/public/common/main_function_params.h" 43 #include "content/public/common/main_function_params.h"
46 #include "content/public/common/sandbox_linux.h" 44 #include "content/public/common/sandbox_linux.h"
47 #include "content/public/common/zygote_fork_delegate_linux.h" 45 #include "content/public/common/zygote_fork_delegate_linux.h"
48 #include "content/zygote/zygote_linux.h" 46 #include "content/zygote/zygote_linux.h"
49 #include "sandbox/linux/services/credentials.h" 47 #include "sandbox/linux/services/credentials.h"
50 #include "sandbox/linux/services/init_process_reaper.h" 48 #include "sandbox/linux/services/init_process_reaper.h"
51 #include "sandbox/linux/services/namespace_sandbox.h" 49 #include "sandbox/linux/services/namespace_sandbox.h"
52 #include "sandbox/linux/services/thread_helpers.h" 50 #include "sandbox/linux/services/thread_helpers.h"
53 #include "sandbox/linux/suid/client/setuid_sandbox_client.h" 51 #include "sandbox/linux/suid/client/setuid_sandbox_client.h"
54 #include "third_party/WebKit/public/web/linux/WebFontRendering.h" 52 #include "third_party/WebKit/public/web/linux/WebFontRendering.h"
53 #include "third_party/boringssl/src/include/openssl/crypto.h"
54 #include "third_party/boringssl/src/include/openssl/rand.h"
55 #include "third_party/icu/source/i18n/unicode/timezone.h" 55 #include "third_party/icu/source/i18n/unicode/timezone.h"
56 #include "third_party/skia/include/ports/SkFontConfigInterface.h" 56 #include "third_party/skia/include/ports/SkFontConfigInterface.h"
57 #include "third_party/skia/include/ports/SkFontMgr_android.h" 57 #include "third_party/skia/include/ports/SkFontMgr_android.h"
58 58
59 #if defined(OS_LINUX) 59 #if defined(OS_LINUX)
60 #include <sys/prctl.h> 60 #include <sys/prctl.h>
61 #endif 61 #endif
62 62
63 #if defined(ENABLE_PLUGINS) 63 #if defined(ENABLE_PLUGINS)
64 #include "content/common/pepper_plugin_list.h" 64 #include "content/common/pepper_plugin_list.h"
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 const bool namespace_sandbox_engaged = sandbox_flags & kSandboxLinuxUserNS; 663 const bool namespace_sandbox_engaged = sandbox_flags & kSandboxLinuxUserNS;
664 CHECK_EQ(using_namespace_sandbox, namespace_sandbox_engaged); 664 CHECK_EQ(using_namespace_sandbox, namespace_sandbox_engaged);
665 665
666 Zygote zygote(sandbox_flags, std::move(fork_delegates), extra_children, 666 Zygote zygote(sandbox_flags, std::move(fork_delegates), extra_children,
667 extra_fds); 667 extra_fds);
668 // This function call can return multiple times, once per fork(). 668 // This function call can return multiple times, once per fork().
669 return zygote.ProcessRequests(); 669 return zygote.ProcessRequests();
670 } 670 }
671 671
672 } // namespace content 672 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698