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

Side by Side Diff: src/snapshot/snapshot.h

Issue 1091983002: Correctly name header macros for src/snapshot/*.h. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « src/snapshot/serialize.h ('k') | src/snapshot/snapshot-source-sink.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project 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 "src/isolate.h" 5 #include "src/isolate.h"
6 #include "src/snapshot/serialize.h" 6 #include "src/snapshot/serialize.h"
7 7
8 #ifndef V8_SNAPSHOT_H_ 8 #ifndef V8_SNAPSHOT_SNAPSHOT_H_
9 #define V8_SNAPSHOT_H_ 9 #define V8_SNAPSHOT_SNAPSHOT_H_
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 class Snapshot : public AllStatic { 14 class Snapshot : public AllStatic {
15 public: 15 public:
16 class Metadata { 16 class Metadata {
17 public: 17 public:
18 explicit Metadata(uint32_t data = 0) : data_(data) {} 18 explicit Metadata(uint32_t data = 0) : data_(data) {}
19 bool embeds_script() { return EmbedsScriptBits::decode(data_); } 19 bool embeds_script() { return EmbedsScriptBits::decode(data_); }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot); 84 DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
85 }; 85 };
86 86
87 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 87 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
88 void SetSnapshotFromFile(StartupData* snapshot_blob); 88 void SetSnapshotFromFile(StartupData* snapshot_blob);
89 #endif 89 #endif
90 90
91 } } // namespace v8::internal 91 } } // namespace v8::internal
92 92
93 #endif // V8_SNAPSHOT_H_ 93 #endif // V8_SNAPSHOT_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « src/snapshot/serialize.h ('k') | src/snapshot/snapshot-source-sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698