Index: shell/application_manager/application_manager.h |
diff --git a/shell/application_manager/application_manager.h b/shell/application_manager/application_manager.h |
index 0a5e8b08d146b88f4793e79fdfcb9b2189971ff2..fbabf59952dd8b259b466f34740213a081e89a57 100644 |
--- a/shell/application_manager/application_manager.h |
+++ b/shell/application_manager/application_manager.h |
@@ -146,8 +146,8 @@ class ApplicationManager { |
using SchemeToLoaderMap = |
std::map<std::string, scoped_ptr<ApplicationLoader>>; |
using IdentityToShellImplMap = std::map<Identity, scoped_ptr<ShellImpl>>; |
- using URLToContentHandlerMap = |
- std::map<GURL, scoped_ptr<ContentHandlerConnection>>; |
+ using IdentityToContentHandlerMap = |
+ std::map<Identity, scoped_ptr<ContentHandlerConnection>>; |
using URLToArgsMap = std::map<GURL, std::vector<std::string>>; |
using MimeTypeToURLMap = std::map<std::string, GURL>; |
using URLToNativeOptionsMap = std::map<GURL, NativeApplicationOptions>; |
@@ -175,6 +175,8 @@ class ApplicationManager { |
const std::vector<std::string>& parameters, |
ApplicationLoader* loader); |
+ Identity MakeApplicationIdentity(const GURL& resolved_url); |
viettrungluu
2015/11/16 17:13:32
nit: Existing bad precedent notwithstanding, pleas
Sean Klein
2015/11/16 17:26:32
Done.
|
+ |
mojo::InterfaceRequest<mojo::Application> RegisterShell( |
// The URL after resolution and redirects, including the querystring. |
const GURL& resolved_url, |
@@ -234,7 +236,7 @@ class ApplicationManager { |
scoped_ptr<NativeRunnerFactory> native_runner_factory_; |
IdentityToShellImplMap identity_to_shell_impl_; |
- URLToContentHandlerMap url_to_content_handler_; |
+ IdentityToContentHandlerMap identity_to_content_handler_; |
URLToArgsMap url_to_args_; |
// Note: The keys are URLs after mapping and resolving. |
URLToNativeOptionsMap url_to_native_options_; |