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

Side by Side Diff: include/v8.h

Issue 1156273003: Version 4.5.17.1 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5.17
Patch Set: Created 5 years, 7 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 | « no previous file | include/v8-version.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 // Cached data from previous compilation (if a kConsume*Cache flag is 1191 // Cached data from previous compilation (if a kConsume*Cache flag is
1192 // set), or hold newly generated cache data (kProduce*Cache flags) are 1192 // set), or hold newly generated cache data (kProduce*Cache flags) are
1193 // set when calling a compile method. 1193 // set when calling a compile method.
1194 CachedData* cached_data; 1194 CachedData* cached_data;
1195 }; 1195 };
1196 1196
1197 /** 1197 /**
1198 * For streaming incomplete script data to V8. The embedder should implement a 1198 * For streaming incomplete script data to V8. The embedder should implement a
1199 * subclass of this class. 1199 * subclass of this class.
1200 */ 1200 */
1201 class ExternalSourceStream { 1201 class V8_EXPORT ExternalSourceStream {
1202 public: 1202 public:
1203 virtual ~ExternalSourceStream() {} 1203 virtual ~ExternalSourceStream() {}
1204 1204
1205 /** 1205 /**
1206 * V8 calls this to request the next chunk of data from the embedder. This 1206 * V8 calls this to request the next chunk of data from the embedder. This
1207 * function will be called on a background thread, so it's OK to block and 1207 * function will be called on a background thread, so it's OK to block and
1208 * wait for the data, if the embedder doesn't have data yet. Returns the 1208 * wait for the data, if the embedder doesn't have data yet. Returns the
1209 * length of the data returned. When the data ends, GetMoreData should 1209 * length of the data returned. When the data ends, GetMoreData should
1210 * return 0. Caller takes ownership of the data. 1210 * return 0. Caller takes ownership of the data.
1211 * 1211 *
(...skipping 6996 matching lines...) Expand 10 before | Expand all | Expand 10 after
8208 */ 8208 */
8209 8209
8210 8210
8211 } // namespace v8 8211 } // namespace v8
8212 8212
8213 8213
8214 #undef TYPE_CHECK 8214 #undef TYPE_CHECK
8215 8215
8216 8216
8217 #endif // V8_H_ 8217 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | include/v8-version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698