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

Unified Diff: src/bootstrapper.h

Issue 573018: * Generate contexts involving extensions using partial snapshots. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | src/bootstrapper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.h
===================================================================
--- src/bootstrapper.h (revision 3800)
+++ src/bootstrapper.h (working copy)
@@ -77,7 +77,16 @@
static char* AllocateAutoDeletedArray(int bytes);
// Used for new context creation.
- static bool AutoExtensionsExist();
+ static bool InstallExtensions(Handle<Context> global_context,
+ v8::ExtensionConfiguration* extensions);
+
+ class BootstrapperActive {
Mads Ager (chromium) 2010/02/05 08:57:09 You should add BASE_EMBEDDED here to make sure tha
+ public:
+ BootstrapperActive() { active_++; }
+ ~BootstrapperActive() { active_--; }
+ };
+
+ static int active_;
Mads Ager (chromium) 2010/02/05 08:57:09 The name 'active_' makes me think it should be a b
};
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.cc » ('j') | src/bootstrapper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698