Index: content/public/browser/browser_service_registry.h |
diff --git a/content/public/browser/browser_service_registry.h b/content/public/browser/browser_service_registry.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..025cca718cb239970d37ef62254049da787f252c |
--- /dev/null |
+++ b/content/public/browser/browser_service_registry.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2016 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_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |
+#define CONTENT_PUBLIC_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |
+ |
+#include <string> |
+#include <utility> |
+ |
+#include "content/public/common/service_registry.h" |
+ |
+namespace content { |
+ |
+// A BrowserServiceRegistry is a ServiceRegistry for use in the browser process; |
+// it behaves exactly like a normal ServiceRegistry, with the additional |
+// property that on Android, it can be used to register Java native services. |
+class CONTENT_EXPORT BrowserServiceRegistry : public ServiceRegistry { |
+ public: |
+ virtual ~BrowserServiceRegistry() {} |
+ |
+#if defined(OS_ANDROID) |
+ // ANDROID PUBLIC METHODS GO HERE (these would be pure virtual methods, implemented in BrowserServiceRegistryImpl). |
+#endif |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |