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

Unified Diff: mojo/services/html_viewer/html_document.h

Issue 1049013004: Add some simple HTMLViewer apptests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Continue cleanup. 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
Index: mojo/services/html_viewer/html_document.h
diff --git a/mojo/services/html_viewer/html_document.h b/mojo/services/html_viewer/html_document.h
index 217e2b8c266d4b90e0803b02efea17cf65ed0f9d..a1d3b2b8b41ecf42fca36e17a7519ee2533f5620 100644
--- a/mojo/services/html_viewer/html_document.h
+++ b/mojo/services/html_viewer/html_document.h
@@ -54,13 +54,12 @@ class HTMLDocument : public blink::WebViewClient,
public:
// Load a new HTMLDocument with |response|.
//
- // |services| should be used to implement a ServiceProvider which exposes
- // services to the connecting application.
+ // Services are offered to the connecting application via |service_provider|.
// Commonly, the connecting application is the ViewManager and it will
// request ViewManagerClient.
//
// |shell| is the Shell connection for this mojo::Application.
- HTMLDocument(mojo::InterfaceRequest<mojo::ServiceProvider> services,
+ HTMLDocument(mojo::ServiceProviderImpl* service_provider,
mojo::URLResponsePtr response,
mojo::Shell* shell,
scoped_refptr<base::MessageLoopProxy> compositor_thread,
@@ -132,7 +131,6 @@ class HTMLDocument : public blink::WebViewClient,
void Load(mojo::URLResponsePtr response);
mojo::URLResponsePtr response_;
- mojo::ServiceProviderImpl exported_services_;
mojo::ServiceProviderPtr embedder_service_provider_;
mojo::Shell* shell_;
mojo::LazyInterfacePtr<mojo::NavigatorHost> navigator_host_;

Powered by Google App Engine
This is Rietveld 408576698