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 CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ | 5 #ifndef CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ |
6 #define CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ | 6 #define CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
11 #include "gin/handle.h" | 12 #include "gin/handle.h" |
12 #include "gin/object_template_builder.h" | 13 #include "gin/object_template_builder.h" |
13 #include "gin/wrappable.h" | 14 #include "gin/wrappable.h" |
14 #include "mojo/public/cpp/system/core.h" | 15 #include "mojo/public/cpp/system/core.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
18 class ServiceRegistry; | 19 class ServiceRegistry; |
19 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
42 base::WeakPtr<ServiceRegistry> service_registry); | 43 base::WeakPtr<ServiceRegistry> service_registry); |
43 | 44 |
44 base::WeakPtr<ServiceRegistry> service_registry_; | 45 base::WeakPtr<ServiceRegistry> service_registry_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryJsWrapper); | 47 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryJsWrapper); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace content | 50 } // namespace content |
50 | 51 |
51 #endif // CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ | 52 #endif // CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ |
OLD | NEW |