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

Side by Side Diff: content/browser/mojo/mojo_shell_context.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ 5 #ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
6 #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ 6 #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "services/shell/public/interfaces/connector.mojom.h" 16 #include "services/shell/public/interfaces/connector.mojom.h"
17 #include "services/shell/shell.h" 17 #include "services/shell/shell.h"
18 18
19 namespace catalog { 19 namespace catalog {
20 class Catalog; 20 class Catalog;
21 } 21 }
22 22
23 namespace shell {
24 class ShellClient;
25 }
26
27 namespace content { 23 namespace content {
28 24
29 // MojoShellContext hosts the browser's ApplicationManager, coordinating 25 // MojoShellContext hosts the browser's ApplicationManager, coordinating
30 // app registration and interconnection. 26 // app registration and interconnection.
31 class CONTENT_EXPORT MojoShellContext { 27 class CONTENT_EXPORT MojoShellContext {
32 public: 28 public:
33 MojoShellContext(); 29 MojoShellContext();
34 ~MojoShellContext(); 30 ~MojoShellContext();
35 31
36 // Connects an application at |name| and gets a handle to its exposed 32 // Connects an application at |name| and gets a handle to its exposed
(...skipping 29 matching lines...) Expand all
66 std::unique_ptr<BuiltinManifestProvider> manifest_provider_; 62 std::unique_ptr<BuiltinManifestProvider> manifest_provider_;
67 std::unique_ptr<catalog::Catalog> catalog_; 63 std::unique_ptr<catalog::Catalog> catalog_;
68 std::unique_ptr<shell::Shell> shell_; 64 std::unique_ptr<shell::Shell> shell_;
69 65
70 DISALLOW_COPY_AND_ASSIGN(MojoShellContext); 66 DISALLOW_COPY_AND_ASSIGN(MojoShellContext);
71 }; 67 };
72 68
73 } // namespace content 69 } // namespace content
74 70
75 #endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_ 71 #endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/mojo/mojo_child_connection.cc ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698