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

Unified Diff: content/browser/mojo/mojo_shell_context.h

Issue 2387263002: Rename MojoShellContext -> ServiceManagerContext. (Closed)
Patch Set: . Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/mojo/merge_dictionary_unittest.cc ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_context.h
diff --git a/content/browser/mojo/mojo_shell_context.h b/content/browser/mojo/mojo_shell_context.h
deleted file mode 100644
index 8885270116803a651ee29c97b1adc3e711ad8d18..0000000000000000000000000000000000000000
--- a/content/browser/mojo/mojo_shell_context.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 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_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
-#define CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-
-namespace shell {
-class Connector;
-}
-
-namespace content {
-
-// MojoShellContext manages the browser's connection to the ServiceManager,
-// hosting a new in-process ServiceManager if the browser was not launched from
-// an external one.
-class CONTENT_EXPORT MojoShellContext {
- public:
- MojoShellContext();
- ~MojoShellContext();
-
- // Returns a shell::Connector that can be used on the IO thread.
- static shell::Connector* GetConnectorForIOThread();
-
- private:
- class InProcessServiceManagerContext;
-
- scoped_refptr<InProcessServiceManagerContext> in_process_context_;
-
- DISALLOW_COPY_AND_ASSIGN(MojoShellContext);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CONTEXT_H_
« no previous file with comments | « content/browser/mojo/merge_dictionary_unittest.cc ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698