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

Unified Diff: shell/application_manager/shell_impl.h

Issue 979203002: Index application by URL and identity for multiprocess. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 9 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 | « shell/application_manager/identity.cc ('k') | shell/application_manager/shell_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/shell_impl.h
diff --git a/shell/application_manager/shell_impl.h b/shell/application_manager/shell_impl.h
index 5f405e5cff8f208af56bd65c0b2d5e200415f2ba..f3fcefe1d8fa36cf3a67d6c02151363fe3b23812 100644
--- a/shell/application_manager/shell_impl.h
+++ b/shell/application_manager/shell_impl.h
@@ -9,6 +9,7 @@
#include "mojo/public/cpp/bindings/error_handler.h"
#include "mojo/public/interfaces/application/application.mojom.h"
#include "mojo/public/interfaces/application/shell.mojom.h"
+#include "shell/application_manager/identity.h"
#include "url/gurl.h"
namespace mojo {
@@ -22,7 +23,7 @@ class ShellImpl : public Shell, public ErrorHandler {
ApplicationManager* manager,
// The original URL that was first requested, before any resolution.
const GURL& original_url,
- const GURL& resolved_url);
+ const Identity& resolved_identity);
~ShellImpl() override;
@@ -34,7 +35,7 @@ class ShellImpl : public Shell, public ErrorHandler {
ServiceProviderPtr exposed_services);
Application* application() { return application_.get(); }
- const GURL& url() const { return url_; }
+ const Identity& identity() const { return identity_; }
const GURL& requested_url() const { return requested_url_; }
private:
@@ -48,7 +49,7 @@ class ShellImpl : public Shell, public ErrorHandler {
ApplicationManager* const manager_;
const GURL requested_url_;
- const GURL url_;
+ const Identity identity_;
ApplicationPtr application_;
Binding<Shell> binding_;
« no previous file with comments | « shell/application_manager/identity.cc ('k') | shell/application_manager/shell_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698