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

Side by Side Diff: include/v8.h

Issue 845973003: Embed custom script into the snapshot. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 | « Makefile ('k') | src/api.cc » ('j') | tools/gyp/v8.gyp » ('J')
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 5326 matching lines...) Expand 10 before | Expand all | Expand 10 after
5337 * - The call will abort if the data is invalid. 5337 * - The call will abort if the data is invalid.
5338 */ 5338 */
5339 static void SetNativesDataBlob(StartupData* startup_blob); 5339 static void SetNativesDataBlob(StartupData* startup_blob);
5340 static void SetSnapshotDataBlob(StartupData* startup_blob); 5340 static void SetSnapshotDataBlob(StartupData* startup_blob);
5341 5341
5342 /** 5342 /**
5343 * Create a new isolate and context for the purpose of capturing a snapshot 5343 * Create a new isolate and context for the purpose of capturing a snapshot
5344 * Returns { NULL, 0 } on failure. 5344 * Returns { NULL, 0 } on failure.
5345 * The caller owns the data array in the return value. 5345 * The caller owns the data array in the return value.
5346 */ 5346 */
5347 static StartupData CreateSnapshotDataBlob(); 5347 static StartupData CreateSnapshotDataBlob(char* custom_source = NULL);
5348 5348
5349 /** 5349 /**
5350 * Adds a message listener. 5350 * Adds a message listener.
5351 * 5351 *
5352 * The same message listener can be added more than once and in that 5352 * The same message listener can be added more than once and in that
5353 * case it will be called more than once for each message. 5353 * case it will be called more than once for each message.
5354 * 5354 *
5355 * If data is specified, it will be passed to the callback when it is called. 5355 * If data is specified, it will be passed to the callback when it is called.
5356 * Otherwise, the exception object will be passed to the callback instead. 5356 * Otherwise, the exception object will be passed to the callback instead.
5357 */ 5357 */
(...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
7494 */ 7494 */
7495 7495
7496 7496
7497 } // namespace v8 7497 } // namespace v8
7498 7498
7499 7499
7500 #undef TYPE_CHECK 7500 #undef TYPE_CHECK
7501 7501
7502 7502
7503 #endif // V8_H_ 7503 #endif // V8_H_
OLDNEW
« no previous file with comments | « Makefile ('k') | src/api.cc » ('j') | tools/gyp/v8.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698