Chromium Code Reviews

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

Issue 1977023003: ApplicationConnection devolution, part 4 (the end). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_app_conn_devo_3.1
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « mojo/public/cpp/application/lib/service_registry.cc ('k') | mojo/ui/view_provider_app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 5 #include <map>
6 #include <memory> 6 #include <memory>
7 7
8 #include "mojo/public/c/system/main.h" 8 #include "mojo/public/c/system/main.h"
9 #include "mojo/public/cpp/application/application_connection.h"
10 #include "mojo/public/cpp/application/application_delegate.h" 9 #include "mojo/public/cpp/application/application_delegate.h"
11 #include "mojo/public/cpp/application/application_runner.h" 10 #include "mojo/public/cpp/application/application_runner.h"
11 #include "mojo/public/cpp/application/service_provider_impl.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 12 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "mojo/public/cpp/system/macros.h" 13 #include "mojo/public/cpp/system/macros.h"
14 #include "mojo/public/interfaces/bindings/tests/versioning_test_service.mojom.h" 14 #include "mojo/public/interfaces/bindings/tests/versioning_test_service.mojom.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace test { 17 namespace test {
18 namespace versioning { 18 namespace versioning {
19 19
20 struct EmployeeInfo { 20 struct EmployeeInfo {
21 public: 21 public:
(...skipping 92 matching lines...)
114 } // namespace test 114 } // namespace test
115 } // namespace mojo 115 } // namespace mojo
116 116
117 MojoResult MojoMain(MojoHandle application_request) { 117 MojoResult MojoMain(MojoHandle application_request) {
118 mojo::ApplicationRunner runner( 118 mojo::ApplicationRunner runner(
119 std::unique_ptr<mojo::test::versioning::HumanResourceSystemServer>( 119 std::unique_ptr<mojo::test::versioning::HumanResourceSystemServer>(
120 new mojo::test::versioning::HumanResourceSystemServer())); 120 new mojo::test::versioning::HumanResourceSystemServer()));
121 121
122 return runner.Run(application_request); 122 return runner.Run(application_request);
123 } 123 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/application/lib/service_registry.cc ('k') | mojo/ui/view_provider_app.h » ('j') | no next file with comments »

Powered by Google App Engine