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

Unified Diff: mojo/shell/application_manager.h

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
Patch Set: . Created 4 years, 10 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 | « mojo/shell/application_loader.h ('k') | mojo/shell/application_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_manager.h
diff --git a/mojo/shell/application_manager.h b/mojo/shell/application_manager.h
index f20a9ae4983a6fd789e7b4574c689fc6b72a053d..81e1e9fe6011d1959354453f7c03674158dcd7a5 100644
--- a/mojo/shell/application_manager.h
+++ b/mojo/shell/application_manager.h
@@ -21,10 +21,10 @@
#include "mojo/shell/fetcher.h"
#include "mojo/shell/identity.h"
#include "mojo/shell/native_runner.h"
-#include "mojo/shell/public/interfaces/application.mojom.h"
#include "mojo/shell/public/interfaces/application_manager.mojom.h"
#include "mojo/shell/public/interfaces/service_provider.mojom.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
+#include "mojo/shell/public/interfaces/shell_client.mojom.h"
#include "url/gurl.h"
namespace base {
@@ -114,10 +114,10 @@ class ApplicationManager {
bool ConnectToRunningApplication(
scoped_ptr<ConnectToApplicationParams>* params);
- InterfaceRequest<mojom::Application> CreateAndConnectToInstance(
+ InterfaceRequest<mojom::ShellClient> CreateAndConnectToInstance(
scoped_ptr<ConnectToApplicationParams> params,
ApplicationInstance** instance);
- InterfaceRequest<mojom::Application> CreateInstance(
+ InterfaceRequest<mojom::ShellClient> CreateInstance(
const Identity& target_id,
const base::Closure& on_application_end,
ApplicationInstance** resulting_instance);
@@ -128,13 +128,12 @@ class ApplicationManager {
void HandleFetchCallback(scoped_ptr<ConnectToApplicationParams> params,
scoped_ptr<Fetcher> fetcher);
- void RunNativeApplication(
- InterfaceRequest<mojom::Application> application_request,
- bool start_sandboxed,
- scoped_ptr<Fetcher> fetcher,
- ApplicationInstance* instance,
- const base::FilePath& file_path,
- bool path_exists);
+ void RunNativeApplication(InterfaceRequest<mojom::ShellClient> request,
+ bool start_sandboxed,
+ scoped_ptr<Fetcher> fetcher,
+ ApplicationInstance* instance,
+ const base::FilePath& file_path,
+ bool path_exists);
// Returns the appropriate loader for |url|, or the default loader if there is
// no loader configured for the URL.
« no previous file with comments | « mojo/shell/application_loader.h ('k') | mojo/shell/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698