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

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

Issue 2163883005: WIP: Obtain Bootstrap from utility process Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/common/child_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SERVICE_MANAGER_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_SERVICE_MANAGER_CONTEXT_H_
7
8 #include <memory>
9
10 #include "content/common/content_export.h"
11
12 namespace shell {
13 class Connector;
14 }
15
16 namespace content {
17
18 // Sets up the Service Manager for the browser process. If the browser process
19 // is launched from an external Service Manager, this configures that
20 // connection. If it was not, this creates a Service Manager instance.
21 class CONTENT_EXPORT ServiceManagerContext {
22 public:
23 virtual ~ServiceManagerContext() {}
24
25 // Create an instance of the context, binding to the external Service Manager
26 // that launched this process or creating one. Must be called on the main
27 // thread.
28 static std::unique_ptr<ServiceManagerContext> Create();
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_PUBLIC_BROWSER_SERVICE_MANAGER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/common/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698