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

Unified Diff: chrome/browser/mojo_runner_state.h

Issue 1427393002: Revert of Allow Chrome to bind an Application request from mojo_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: Created 5 years, 1 month 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 | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/mojo_runner_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/mojo_runner_state.h
diff --git a/chrome/browser/mojo_runner_state.h b/chrome/browser/mojo_runner_state.h
deleted file mode 100644
index 09eaa62cd94bd3c883189eee36571c4f5a2ebffd..0000000000000000000000000000000000000000
--- a/chrome/browser/mojo_runner_state.h
+++ /dev/null
@@ -1,41 +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 CHROME_BROWSER_MOJO_RUNNER_STATE_H_
-#define CHROME_BROWSER_MOJO_RUNNER_STATE_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace mojo {
-class ApplicationImpl;
-namespace runner {
-class RunnerConnection;
-}
-}
-
-class ChromeApplicationDelegate;
-
-// Encapsulates a connection to a spawning mojo_runner/shell.
-// TODO(beng): figure out if/how this should be exposed to other layers
-// of code in Chrome.
-class MojoRunnerState {
- public:
- MojoRunnerState();
- ~MojoRunnerState();
-
- // Blocks the calling thread until a connection to the spawning mojo_runner
- // is established, an Application request from it is bound, and the
- // Initialize() method on that application is called.
- void WaitForConnection();
-
- private:
- scoped_ptr<mojo::runner::RunnerConnection> runner_connection_;
- scoped_ptr<mojo::ApplicationImpl> application_impl_;
- scoped_ptr<ChromeApplicationDelegate> application_delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(MojoRunnerState);
-};
-
-#endif // CHROME_BROWSER_MOJO_RUNNER_STATE_H_
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/mojo_runner_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698