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

Unified Diff: Source/core/Init.h

Issue 426063010: IndexedDB: Fixed threading bugs with use of AtomicStrings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Commented names and removed bison build rule Created 6 years, 4 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 | « no previous file | Source/modules/BUILD.gn » ('j') | Source/modules/InitModules.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/Init.h
diff --git a/Source/core/Init.h b/Source/core/Init.h
index 3579688d5c74865fd0be1d202dbd2ffad5333b9d..d48cf83334974296131d1ba9724213573e748ef0 100644
--- a/Source/core/Init.h
+++ b/Source/core/Init.h
@@ -37,17 +37,17 @@ class CoreInitializer {
public:
CoreInitializer() : m_isInited(false) { }
// Should be called by clients before trying to create Frames.
- void init();
+ virtual void init();
+ // FIXME: Why is this function static?
+ static void shutdown();
+
+protected:
virtual void registerEventFactory();
virtual void initEventNames();
virtual void initEventTargetNames();
virtual void initBindings() { }
- // FIXME: Why is this function static?
- static void shutdown();
-
-private:
bool m_isInited;
};
« no previous file with comments | « no previous file | Source/modules/BUILD.gn » ('j') | Source/modules/InitModules.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698