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

Side by Side Diff: content/app/content_main_runner.cc

Issue 2075283003: Remove natives_blob.bin's arch dependence. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove natives_blob.bin's arch dependence. 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
« no previous file with comments | « build_overrides/v8.gni ('k') | content/browser/child_process_launcher.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 #include "content/public/app/content_main_runner.h" 5 #include "content/public/app/content_main_runner.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 base::LazyInstance<ContentGpuClient> 171 base::LazyInstance<ContentGpuClient>
172 g_empty_content_gpu_client = LAZY_INSTANCE_INITIALIZER; 172 g_empty_content_gpu_client = LAZY_INSTANCE_INITIALIZER;
173 base::LazyInstance<ContentRendererClient> 173 base::LazyInstance<ContentRendererClient>
174 g_empty_content_renderer_client = LAZY_INSTANCE_INITIALIZER; 174 g_empty_content_renderer_client = LAZY_INSTANCE_INITIALIZER;
175 base::LazyInstance<ContentUtilityClient> 175 base::LazyInstance<ContentUtilityClient>
176 g_empty_content_utility_client = LAZY_INSTANCE_INITIALIZER; 176 g_empty_content_utility_client = LAZY_INSTANCE_INITIALIZER;
177 #endif // !CHROME_MULTIPLE_DLL_BROWSER 177 #endif // !CHROME_MULTIPLE_DLL_BROWSER
178 178
179 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) && defined(OS_ANDROID) 179 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) && defined(OS_ANDROID)
180 #if defined __LP64__ 180 #if defined __LP64__
181 #define kV8NativesDataDescriptor kV8NativesDataDescriptor64
182 #define kV8SnapshotDataDescriptor kV8SnapshotDataDescriptor64 181 #define kV8SnapshotDataDescriptor kV8SnapshotDataDescriptor64
183 #else 182 #else
184 #define kV8NativesDataDescriptor kV8NativesDataDescriptor32
185 #define kV8SnapshotDataDescriptor kV8SnapshotDataDescriptor32 183 #define kV8SnapshotDataDescriptor kV8SnapshotDataDescriptor32
186 #endif 184 #endif
187 #endif 185 #endif
188 186
189 #if defined(OS_POSIX) 187 #if defined(OS_POSIX)
190 188
191 // Setup signal-handling state: resanitize most signals, ignore SIGPIPE. 189 // Setup signal-handling state: resanitize most signals, ignore SIGPIPE.
192 void SetupSignalHandlers() { 190 void SetupSignalHandlers() {
193 // Sanitise our signal handling state. Signals that were ignored by our 191 // Sanitise our signal handling state. Signals that were ignored by our
194 // parent will also be ignored by us. We also inherit our parent's sigmask. 192 // parent will also be ignored by us. We also inherit our parent's sigmask.
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 841
844 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); 842 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl);
845 }; 843 };
846 844
847 // static 845 // static
848 ContentMainRunner* ContentMainRunner::Create() { 846 ContentMainRunner* ContentMainRunner::Create() {
849 return new ContentMainRunnerImpl(); 847 return new ContentMainRunnerImpl();
850 } 848 }
851 849
852 } // namespace content 850 } // namespace content
OLDNEW
« no previous file with comments | « build_overrides/v8.gni ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698