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

Unified Diff: mojo/ui/view_provider_app.h

Issue 2001283002: Remove ViewProvider.CreateView()'s exposed_services. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « mojo/services/ui/views/interfaces/view_provider.mojom ('k') | mojo/ui/view_provider_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/view_provider_app.h
diff --git a/mojo/ui/view_provider_app.h b/mojo/ui/view_provider_app.h
index 4f6293bb8631bb63b2eb4c56415f999de67e2c13..9c8573338f4ab0f84290bcc49b3d1cf390aced24 100644
--- a/mojo/ui/view_provider_app.h
+++ b/mojo/ui/view_provider_app.h
@@ -46,14 +46,9 @@ class ViewProviderApp : public ApplicationDelegate {
//
// The |services| parameter is used to receive services from the view
// on behalf of the caller.
- //
- // The |exposed_services| parameters is used to provide services to
- // the view from the caller.
- virtual void CreateView(
- const std::string& view_provider_url,
- InterfaceRequest<ViewOwner> view_owner_request,
- InterfaceRequest<ServiceProvider> services,
- InterfaceHandle<ServiceProvider> exposed_services) = 0;
+ virtual void CreateView(const std::string& view_provider_url,
+ InterfaceRequest<ViewOwner> view_owner_request,
+ InterfaceRequest<ServiceProvider> services) = 0;
private:
class DelegatingViewProvider;
@@ -61,8 +56,7 @@ class ViewProviderApp : public ApplicationDelegate {
void CreateView(DelegatingViewProvider* provider,
const std::string& view_provider_url,
InterfaceRequest<ViewOwner> view_owner_request,
- InterfaceRequest<ServiceProvider> services,
- InterfaceHandle<ServiceProvider> exposed_services);
+ InterfaceRequest<ServiceProvider> services);
ApplicationImpl* app_impl_ = nullptr;
StrongBindingSet<ViewProvider> bindings_;
« no previous file with comments | « mojo/services/ui/views/interfaces/view_provider.mojom ('k') | mojo/ui/view_provider_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698