OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 #include "v8/include/v8.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class ServiceRegistry; |
| 14 |
| 15 CONTENT_EXPORT extern const char kServiceRegistryModuleName[]; |
| 16 |
| 17 // Returns a JS wrapper around ServiceRegistry that allows connecting to remote |
| 18 // services. |
| 19 CONTENT_EXPORT v8::Handle<v8::Value> WrapServiceRegistry( |
| 20 v8::Isolate* isolate, ServiceRegistry* service_registry); |
| 21 |
| 22 } // namespace content |
| 23 |
| 24 #endif // CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |
OLD | NEW |