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

Side by Side Diff: services/test_service/test_service_application.cc

Issue 766403002: Move test_service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/test_service/test_service_application.h" 5 #include "services/test_service/test_service_application.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 8
9 #include "mojo/public/c/system/main.h" 9 #include "mojo/public/c/system/main.h"
10 #include "mojo/public/cpp/application/application_connection.h" 10 #include "mojo/public/cpp/application/application_connection.h"
11 #include "mojo/public/cpp/application/application_runner.h" 11 #include "mojo/public/cpp/application/application_runner.h"
12 #include "mojo/public/cpp/utility/run_loop.h" 12 #include "mojo/public/cpp/utility/run_loop.h"
13 #include "mojo/services/test_service/test_service_impl.h" 13 #include "services/test_service/test_service_impl.h"
14 #include "mojo/services/test_service/test_time_service_impl.h" 14 #include "services/test_service/test_time_service_impl.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace test { 17 namespace test {
18 18
19 TestServiceApplication::TestServiceApplication() : ref_count_(0) { 19 TestServiceApplication::TestServiceApplication() : ref_count_(0) {
20 } 20 }
21 21
22 TestServiceApplication::~TestServiceApplication() { 22 TestServiceApplication::~TestServiceApplication() {
23 } 23 }
24 24
(...skipping 27 matching lines...) Expand all
52 RunLoop::current()->Quit(); 52 RunLoop::current()->Quit();
53 } 53 }
54 54
55 } // namespace test 55 } // namespace test
56 } // namespace mojo 56 } // namespace mojo
57 57
58 MojoResult MojoMain(MojoHandle shell_handle) { 58 MojoResult MojoMain(MojoHandle shell_handle) {
59 mojo::ApplicationRunner runner(new mojo::test::TestServiceApplication); 59 mojo::ApplicationRunner runner(new mojo::test::TestServiceApplication);
60 return runner.Run(shell_handle); 60 return runner.Run(shell_handle);
61 } 61 }
OLDNEW
« no previous file with comments | « services/test_service/test_service_application.h ('k') | services/test_service/test_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698