Index: content/public/renderer/service_registry_js.h |
diff --git a/content/public/renderer/service_registry_js.h b/content/public/renderer/service_registry_js.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..69d5b4606ae796a9953d9c19264844ad5de9d5e4 |
--- /dev/null |
+++ b/content/public/renderer/service_registry_js.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |
+#define CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "v8/include/v8.h" |
+ |
+namespace content { |
+ |
+class ServiceRegistry; |
+ |
+CONTENT_EXPORT extern const char kServiceRegistryModuleName[]; |
+ |
+// Returns a JS wrapper around ServiceRegistry that allows connecting to remote |
+// services. |
+CONTENT_EXPORT v8::Handle<v8::Value> WrapServiceRegistry( |
darin (slow to review)
2014/06/28 21:10:38
Why does this file need to be in content/public/re
Sam McNally
2014/06/30 01:26:14
Done.
|
+ v8::Isolate* isolate, |
+ ServiceRegistry* service_registry); |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_RENDERER_SERVICE_REGISTRY_JS_H_ |