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

Unified Diff: services/ui/demo/main.cc

Issue 2693923004: Mus Demo: Extract code specific to internal mode into a separate class (Closed)
Patch Set: 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
Index: services/ui/demo/main.cc
diff --git a/services/ui/demo/main.cc b/services/ui/demo/main.cc
deleted file mode 100644
index ecf56bd8398f53749ff9e6f58770784fb2b72150..0000000000000000000000000000000000000000
--- a/services/ui/demo/main.cc
+++ /dev/null
@@ -1,12 +0,0 @@
-// 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/service_manager/public/c/main.h"
-#include "services/service_manager/public/cpp/service_runner.h"
-#include "services/ui/demo/mus_demo.h"
-
-MojoResult ServiceMain(MojoHandle service_request_handle) {
- service_manager::ServiceRunner runner(new ui::demo::MusDemo);
- return runner.Run(service_request_handle);
-}

Powered by Google App Engine
This is Rietveld 408576698