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

Unified Diff: content/public/utility/utility_thread.h

Issue 1251823002: Initialize blink only when needed in utility processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « chrome/utility/profile_import_handler.cc ('k') | content/utility/utility_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/utility/utility_thread.h
diff --git a/content/public/utility/utility_thread.h b/content/public/utility/utility_thread.h
index 42bf10cf5eade593bd002ab86de55be1bc90ae69..acafd1a3ab37a29ea8a3e185742e403549521d71 100644
--- a/content/public/utility/utility_thread.h
+++ b/content/public/utility/utility_thread.h
@@ -21,6 +21,9 @@ class CONTENT_EXPORT UtilityThread : virtual public ChildThread {
// Releases the process if we are not (or no longer) in batch mode.
virtual void ReleaseProcessIfNeeded() = 0;
+
+ // Initializes blink if it hasn't already been initialized.
+ virtual void EnsureBlinkInitialized() = 0;
jochen (gone - plz use gerrit) 2015/07/27 11:35:21 why is this API needed? why not just call initiali
jam 2015/07/27 15:14:49 (see my first message) to expand on it also, util
};
} // namespace content
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | content/utility/utility_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698