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

Unified Diff: shell/application_manager/application_manager.h

Issue 1026293002: Aggregate parameters through mappings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix androdi build 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/android/mojo_main.cc ('k') | shell/application_manager/application_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_manager.h
diff --git a/shell/application_manager/application_manager.h b/shell/application_manager/application_manager.h
index 8ae6eb93091eaf802ffd1ab1317bea9fb4085d51..8aaf5bd0d5f36606ad8d897a1a00e2ffd7609a46 100644
--- a/shell/application_manager/application_manager.h
+++ b/shell/application_manager/application_manager.h
@@ -140,6 +140,13 @@ class ApplicationManager {
typedef std::map<std::string, GURL> MimeTypeToURLMap;
typedef std::map<GURL, NativeRunnerFactory::Options> URLToNativeOptionsMap;
+ void ConnectToApplicationWithParameters(
+ const GURL& application_url,
+ const GURL& requestor_url,
+ InterfaceRequest<ServiceProvider> services,
+ ServiceProviderPtr exposed_services,
+ const std::vector<std::string>& parameters);
+
bool ConnectToRunningApplication(const GURL& resolved_url,
const GURL& requestor_url,
InterfaceRequest<ServiceProvider>* services,
@@ -151,6 +158,7 @@ class ApplicationManager {
const GURL& requestor_url,
InterfaceRequest<ServiceProvider>* services,
ServiceProviderPtr* exposed_services,
+ const std::vector<std::string>& parameters,
ApplicationLoader* loader);
InterfaceRequest<Application> RegisterShell(
@@ -162,7 +170,8 @@ class ApplicationManager {
const GURL& resolved_url,
const GURL& requestor_url,
InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services);
+ ServiceProviderPtr exposed_services,
+ const std::vector<std::string>& parameters);
ShellImpl* GetShellImpl(const GURL& url);
@@ -176,6 +185,7 @@ class ApplicationManager {
const GURL& requestor_url,
InterfaceRequest<ServiceProvider> services,
ServiceProviderPtr exposed_services,
+ const std::vector<std::string>& parameters,
NativeRunner::CleanupBehavior cleanup_behavior,
scoped_ptr<Fetcher> fetcher);
@@ -198,7 +208,7 @@ class ApplicationManager {
void OnContentHandlerError(ContentHandlerConnection* content_handler);
// Returns the arguments for the given url.
- Array<String> GetArgsForURL(const GURL& url);
+ std::vector<std::string> GetArgsForURL(const GURL& url);
void CleanupRunner(NativeRunner* runner);
« no previous file with comments | « shell/android/mojo_main.cc ('k') | shell/application_manager/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698