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

Unified Diff: mojo/public/cpp/application/interface_factory_impl.h

Issue 489493004: Update view manager to support content handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah to the blizzah Created 6 years, 4 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/mojo_services.gypi ('k') | mojo/public/cpp/application/lib/service_provider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/interface_factory_impl.h
diff --git a/mojo/public/cpp/application/interface_factory_impl.h b/mojo/public/cpp/application/interface_factory_impl.h
index 2d020f8767b17da0aafe1a16d5fc03786bcba29b..65992727a610cf31fc9a99946f02bd1ecd976229 100644
--- a/mojo/public/cpp/application/interface_factory_impl.h
+++ b/mojo/public/cpp/application/interface_factory_impl.h
@@ -35,6 +35,10 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> {
: context_(context) {}
virtual ~InterfaceFactoryImplWithContext() {}
+ void set_context(Context* context) {
+ context_ = context;
+ }
+
virtual void Create(ApplicationConnection* connection,
InterfaceRequest<Interface> request) MOJO_OVERRIDE {
BindToRequest(new Impl(context_), &request);
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/public/cpp/application/lib/service_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698