OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <utility> |
| 10 |
| 11 #include "content/public/common/service_registry.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 // A BrowserServiceRegistry is a ServiceRegistry for use in the browser process; |
| 16 // it behaves exactly like a normal ServiceRegistry, with the additional |
| 17 // property that on Android, it can be used to register Java native services. |
| 18 class CONTENT_EXPORT BrowserServiceRegistry : public ServiceRegistry { |
| 19 public: |
| 20 virtual ~BrowserServiceRegistry() {} |
| 21 |
| 22 #if defined(OS_ANDROID) |
| 23 // ANDROID PUBLIC METHODS GO HERE (these would be pure virtual methods, implem
ented in BrowserServiceRegistryImpl). |
| 24 #endif |
| 25 }; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_SERVICE_REGISTRY_H_ |
OLD | NEW |