OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 typedef std::map<GURL, ContentHandlerConnection*> URLToContentHandlerMap; | 109 typedef std::map<GURL, ContentHandlerConnection*> URLToContentHandlerMap; |
110 typedef std::map<GURL, std::vector<std::string> > URLToArgsMap; | 110 typedef std::map<GURL, std::vector<std::string> > URLToArgsMap; |
111 | 111 |
112 void ConnectToApplicationImpl(const GURL& requested_url, | 112 void ConnectToApplicationImpl(const GURL& requested_url, |
113 const GURL& resolved_url, | 113 const GURL& resolved_url, |
114 const GURL& requestor_url, | 114 const GURL& requestor_url, |
115 InterfaceRequest<ServiceProvider> services, | 115 InterfaceRequest<ServiceProvider> services, |
116 ServiceProviderPtr exposed_services, | 116 ServiceProviderPtr exposed_services, |
117 ApplicationLoader* loader); | 117 ApplicationLoader* loader); |
118 | 118 |
119 ShellImpl* GetShellImpl(const GURL& url); | |
Aaron Boodman
2015/01/22 20:52:42
append("\n")
| |
119 void ConnectToClient(ShellImpl* shell_impl, | 120 void ConnectToClient(ShellImpl* shell_impl, |
120 const GURL& url, | 121 const GURL& url, |
121 const GURL& requestor_url, | 122 const GURL& requestor_url, |
122 InterfaceRequest<ServiceProvider> services, | 123 InterfaceRequest<ServiceProvider> services, |
123 ServiceProviderPtr exposed_services); | 124 ServiceProviderPtr exposed_services); |
124 | 125 |
125 void LoadWithContentHandler(const GURL& content_handler_url, | 126 void LoadWithContentHandler(const GURL& content_handler_url, |
126 ScopedMessagePipeHandle shell_handle, | 127 ScopedMessagePipeHandle shell_handle, |
127 URLResponsePtr url_response); | 128 URLResponsePtr url_response); |
128 | 129 |
(...skipping 19 matching lines...) Expand all Loading... | |
148 URLToArgsMap url_to_args_; | 149 URLToArgsMap url_to_args_; |
149 | 150 |
150 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; | 151 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; |
151 | 152 |
152 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 153 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
153 }; | 154 }; |
154 | 155 |
155 } // namespace mojo | 156 } // namespace mojo |
156 | 157 |
157 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 158 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
OLD | NEW |