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

Side by Side Diff: content/public/common/content_descriptors.h

Issue 594603003: Infrastructure for reading V8's initial snapshot from external files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Properly override v8_use_external_snapshot in v8 Created 6 years, 3 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 (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 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
6 #define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ 6 #define CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
7 7
8 #include "ipc/ipc_descriptors.h" 8 #include "ipc/ipc_descriptors.h"
9 9
10 // This is a list of global descriptor keys to be used with the 10 // This is a list of global descriptor keys to be used with the
11 // base::GlobalDescriptors object (see base/posix/global_descriptors.h) 11 // base::GlobalDescriptors object (see base/posix/global_descriptors.h)
12 enum { 12 enum {
13 kCrashDumpSignal = kIPCDescriptorMax, 13 kCrashDumpSignal = kIPCDescriptorMax,
14 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC 14 kSandboxIPCChannel, // http://code.google.com/p/chromium/LinuxSandboxIPC
15 15
16 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
17 kAndroidPropertyDescriptor, 17 kAndroidPropertyDescriptor,
18 kAndroidICUDataDescriptor, 18 kAndroidICUDataDescriptor,
19
20 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
21 kV8NativesDataDescriptor,
22 kV8SnapshotDataDescriptor,
23 #endif // V8_USE_EXTERNAL_STARTUP_DATA
24
19 #endif 25 #endif
20 26
21 // The first key that embedders can use to register descriptors (see 27 // The first key that embedders can use to register descriptors (see
22 // base/posix/global_descriptors.h). 28 // base/posix/global_descriptors.h).
23 kContentIPCDescriptorMax 29 kContentIPCDescriptorMax
24 }; 30 };
25 31
26 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_ 32 #endif // CONTENT_PUBLIC_COMMON_CONTENT_DESCRIPTORS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698