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

Unified Diff: ui/ozone/public/ozone_platform.h

Issue 2629983002: Fix the MessageLoop type in case more than one ozone platform is built (Closed)
Patch Set: Fix the MessageLoop type in case more than one ozone platform it built Created 3 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
Index: ui/ozone/public/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index 236924f01591b3a53d0c52d6959e7854c9f8483f..8bb80d6e2ae1e188f98527fe0fcb0e4e36459171 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -8,6 +8,7 @@
#include <memory>
#include "base/macros.h"
+#include "base/message_loop/message_loop.h"
#include "ui/ozone/ozone_export.h"
namespace display {
@@ -92,6 +93,8 @@ class OZONE_EXPORT OzonePlatform {
static OzonePlatform* GetInstance();
+ static base::MessageLoop::Type GetMessageLoopType();
kylechar 2017/01/17 21:54:53 Add a comment to why this is here.
+
// Factory getters to override in subclasses. The returned objects will be
// injected into the appropriate layer at startup. Subclasses should not
// inject these objects themselves. Ownership is retained by OzonePlatform.

Powered by Google App Engine
This is Rietveld 408576698