OLD | NEW |
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 #ifndef SERVICES_SHELL_PUBLIC_CPP_SERVICE_RUNNER_H_ | 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_RUNNER_H_ |
6 #define SERVICES_SHELL_PUBLIC_CPP_SERVICE_RUNNER_H_ | 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_RUNNER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
12 | 12 |
13 namespace shell { | 13 namespace shell { |
14 | 14 |
15 class Service; | 15 class Service; |
16 class ServiceContext; | 16 class ServiceContext; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // MessageLoop type. Default is TYPE_DEFAULT. | 64 // MessageLoop type. Default is TYPE_DEFAULT. |
65 base::MessageLoop::Type message_loop_type_; | 65 base::MessageLoop::Type message_loop_type_; |
66 // Whether Run() has been called. | 66 // Whether Run() has been called. |
67 bool has_run_; | 67 bool has_run_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(ServiceRunner); | 69 DISALLOW_COPY_AND_ASSIGN(ServiceRunner); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace shell | 72 } // namespace shell |
73 | 73 |
74 #endif // SERVICES_SHELL_PUBLIC_CPP_SERVICE_RUNNER_H_ | 74 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_RUNNER_H_ |
OLD | NEW |