Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Side by Side Diff: content/public/browser/browser_service_registry.h

Issue 1858103002: Strawman proposal for dealing with Android java mojo services registry in browser code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak a couple more headers. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/browser/service_worker/embedded_worker_instance.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698