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

Side by Side Diff: shell/application_manager/application_manager.h

Issue 1472923002: Allows URL queries to be passed to contet handlers. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years 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 unified diff | Download patch
OLDNEW
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 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 const GURL& requestor_url, 171 const GURL& requestor_url,
172 mojo::InterfaceRequest<mojo::ServiceProvider>* services, 172 mojo::InterfaceRequest<mojo::ServiceProvider>* services,
173 mojo::ServiceProviderPtr* exposed_services, 173 mojo::ServiceProviderPtr* exposed_services,
174 const base::Closure& on_application_end, 174 const base::Closure& on_application_end,
175 const std::vector<std::string>& parameters, 175 const std::vector<std::string>& parameters,
176 ApplicationLoader* loader); 176 ApplicationLoader* loader);
177 177
178 // Creates an Identity for the service identified by |resolved_url|. 178 // Creates an Identity for the service identified by |resolved_url|.
179 // If |new_process_per_connection| is true for the URL's options, then the 179 // If |new_process_per_connection| is true for the URL's options, then the
180 // identity is unique. Otherwise, repeated invocations with the same 180 // identity is unique. Otherwise, repeated invocations with the same
181 // |resolved_url| will result in an equivalent Identity. 181 // |resolved_url| will result in an equivalent Identity. If |strip_query| is
182 Identity MakeApplicationIdentity(const GURL& resolved_url); 182 // true, the query is stripped before creating the Identity.
183 Identity MakeApplicationIdentity(const GURL& resolved_url,
184 bool strip_query = true);
183 185
184 mojo::InterfaceRequest<mojo::Application> RegisterShell( 186 mojo::InterfaceRequest<mojo::Application> RegisterShell(
185 // The URL after resolution and redirects, including the querystring. 187 // The URL after resolution and redirects, including the querystring.
186 const GURL& resolved_url, 188 const GURL& resolved_url,
187 const GURL& requestor_url, 189 const GURL& requestor_url,
188 mojo::InterfaceRequest<mojo::ServiceProvider> services, 190 mojo::InterfaceRequest<mojo::ServiceProvider> services,
189 mojo::ServiceProviderPtr exposed_services, 191 mojo::ServiceProviderPtr exposed_services,
190 const base::Closure& on_application_end, 192 const base::Closure& on_application_end,
191 const std::vector<std::string>& parameters); 193 const std::vector<std::string>& parameters);
192 194
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 ScopedVector<NativeRunner> native_runners_; 255 ScopedVector<NativeRunner> native_runners_;
254 bool initialized_authentication_interceptor_; 256 bool initialized_authentication_interceptor_;
255 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; 257 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_;
256 258
257 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); 259 DISALLOW_COPY_AND_ASSIGN(ApplicationManager);
258 }; 260 };
259 261
260 } // namespace shell 262 } // namespace shell
261 263
262 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ 264 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | shell/application_manager/application_manager.cc » ('j') | shell/application_manager/application_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698