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

Unified Diff: content/utility/utility_service_factory.h

Issue 2643713003: Allow to use the DefaultRendererFactory from a Utility Process (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « content/renderer/render_thread_impl.cc ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_service_factory.h
diff --git a/content/utility/utility_service_factory.h b/content/utility/utility_service_factory.h
index 0e561bd699f39e11b64fa2299822f67c216c59a6..da1baa1b5c94312b6b2c57ea87e48c9e77380a89 100644
--- a/content/utility/utility_service_factory.h
+++ b/content/utility/utility_service_factory.h
@@ -6,6 +6,7 @@
#define CONTENT_UTILITY_UTILITY_SERVICE_FACTORY_H_
#include "base/macros.h"
+#include "base/single_thread_task_runner.h"
#include "content/child/service_factory.h"
namespace content {
@@ -24,6 +25,10 @@ class UtilityServiceFactory : public ServiceFactory {
private:
void OnLoadFailed() override;
+#if defined(ENABLE_MOJO_MEDIA_IN_UTILITY_PROCESS)
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(UtilityServiceFactory);
};
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698