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

Unified Diff: services/ui/mojo_ui_application_factory.cc

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: Fixed gn check Created 4 years, 2 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: services/ui/mojo_ui_application_factory.cc
diff --git a/services/ui/mojo_ui_application_factory.cc b/services/ui/mojo_ui_application_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e8f2a4e6e3c7998b1bc036fd0a609462e715584d
--- /dev/null
+++ b/services/ui/mojo_ui_application_factory.cc
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "services/ui/mojo_ui_application_factory.h"
+
+#include "base/memory/ptr_util.h"
+#include "services/ui/service.h"
+
+namespace ui {
+
+// static
+std::unique_ptr<service_manager::Service> CreateMojoUIApplication(
+ const base::Closure& quit_closure) {
+ return std::unique_ptr<service_manager::Service>(new Service());
sky 2016/10/18 21:52:30 Why do you need this function rather than having s
Jay Civelli 2016/10/18 22:28:02 This function is a factory function bound in shell
Jay Civelli 2016/10/19 00:42:04 Per our discussion, moved them to shell_content_br
+}
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698