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

Side by Side Diff: mojo/public/cpp/bindings/tests/versioning_test_service.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "mojo/public/interfaces/bindings/tests/versioning_test_service.mojom.h" 12 #include "mojo/public/interfaces/bindings/tests/versioning_test_service.mojom.h"
13 #include "services/shell/public/c/main.h" 13 #include "services/service_manager/public/c/main.h"
14 #include "services/shell/public/cpp/interface_factory.h" 14 #include "services/service_manager/public/cpp/interface_factory.h"
15 #include "services/shell/public/cpp/service.h" 15 #include "services/service_manager/public/cpp/service.h"
16 #include "services/shell/public/cpp/service_runner.h" 16 #include "services/service_manager/public/cpp/service_runner.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace test { 19 namespace test {
20 namespace versioning { 20 namespace versioning {
21 21
22 struct EmployeeInfo { 22 struct EmployeeInfo {
23 public: 23 public:
24 EmployeeInfo() {} 24 EmployeeInfo() {}
25 25
26 EmployeePtr employee; 26 EmployeePtr employee;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } // namespace versioning 118 } // namespace versioning
119 } // namespace test 119 } // namespace test
120 } // namespace mojo 120 } // namespace mojo
121 121
122 MojoResult ServiceMain(MojoHandle request) { 122 MojoResult ServiceMain(MojoHandle request) {
123 mojo::ServiceRunner runner( 123 mojo::ServiceRunner runner(
124 new mojo::test::versioning::HumanResourceSystemServer()); 124 new mojo::test::versioning::HumanResourceSystemServer());
125 125
126 return runner.Run(request); 126 return runner.Run(request);
127 } 127 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/versioning_apptest.cc ('k') | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698