OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ | 5 #ifndef MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ |
6 #define MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ | 6 #define MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" | 13 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
14 #include "mojo/service_manager/service_loader.h" | 14 #include "mojo/service_manager/service_loader.h" |
15 #include "mojo/service_manager/service_manager_export.h" | 15 #include "mojo/service_manager/service_manager_export.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 namespace mojo { | 18 namespace mojo { |
19 | 19 |
20 class MOJO_SERVICE_MANAGER_EXPORT ServiceManager { | 20 class MOJO_SERVICE_MANAGER_EXPORT ServiceManager { |
21 public: | 21 public: |
22 // API for testing. | 22 // API for testing. |
23 class MOJO_SERVICE_MANAGER_EXPORT TestAPI { | 23 class MOJO_SERVICE_MANAGER_EXPORT TestAPI { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 Interceptor* interceptor_; | 107 Interceptor* interceptor_; |
108 | 108 |
109 URLToShellImplMap url_to_shell_impl_; | 109 URLToShellImplMap url_to_shell_impl_; |
110 | 110 |
111 DISALLOW_COPY_AND_ASSIGN(ServiceManager); | 111 DISALLOW_COPY_AND_ASSIGN(ServiceManager); |
112 }; | 112 }; |
113 | 113 |
114 } // namespace mojo | 114 } // namespace mojo |
115 | 115 |
116 #endif // MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ | 116 #endif // MOJO_SERVICE_MANAGER_SERVICE_MANAGER_H_ |
OLD | NEW |