Index: mojo/application_manager/application_manager.h |
diff --git a/mojo/application_manager/application_manager.h b/mojo/application_manager/application_manager.h |
index af74d8b7c068e400734ebf2546fb066298a16fdd..7bb252357df899aa7cb900ed83e2b7bef53d70c0 100644 |
--- a/mojo/application_manager/application_manager.h |
+++ b/mojo/application_manager/application_manager.h |
@@ -6,6 +6,7 @@ |
#define MOJO_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
#include <map> |
+#include <set> |
#include "base/basictypes.h" |
#include "base/gtest_prod_util.h" |
@@ -142,6 +143,9 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { |
// Removes a ShellImpl when it encounters an error. |
void OnShellImplError(ShellImpl* shell_impl); |
+ // Returns the arguments for the given url. |
+ Array<String> GetArgsForURL(const GURL& url); |
+ |
Delegate* delegate_; |
// Loader management. |
URLToLoaderMap url_to_loader_; |
@@ -152,6 +156,7 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { |
URLToShellImplMap url_to_shell_impl_; |
URLToContentHandlerMap url_to_content_handler_; |
URLToArgsMap url_to_args_; |
+ std::set<ShellImpl*> content_shell_impls_; |
base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; |