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

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

Issue 2622103004: Mus Demo: Demonstrate external window mode (Closed)
Patch Set: Add description of internal VS external modes ; fix namespace comment 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 | « services/ui/demo/main.cc ('k') | services/ui/demo/main_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/main_external.cc
diff --git a/services/ui/demo/main.cc b/services/ui/demo/main_external.cc
similarity index 66%
copy from services/ui/demo/main.cc
copy to services/ui/demo/main_external.cc
index 20142861370e555eba103c3038c4af28c8b43136..cdf2734184e7bad03b08f1a455f4963a4e71978f 100644
--- a/services/ui/demo/main.cc
+++ b/services/ui/demo/main_external.cc
@@ -1,12 +1,12 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 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_internal.h"
+#include "services/ui/demo/mus_demo_external.h"
MojoResult ServiceMain(MojoHandle service_request_handle) {
- service_manager::ServiceRunner runner(new ui::demo::MusDemoInternal);
+ service_manager::ServiceRunner runner(new ui::demo::MusDemoExternal);
return runner.Run(service_request_handle);
}
« no previous file with comments | « services/ui/demo/main.cc ('k') | services/ui/demo/main_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698