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

Unified Diff: mojo/apps/js/standalone_main.cc

Issue 686203004: Mojo JS Bindings: Simplify sharing services for content-provided JS applications (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/apps/js/standalone_main.cc
diff --git a/mojo/apps/js/standalone_main.cc b/mojo/apps/js/standalone_main.cc
index cc39bf0575100dd4c07d581c8c05c8dd1ac46dd8..2fbf5065bb3a65e8b74300ebb2ddbcae0f730823 100644
--- a/mojo/apps/js/standalone_main.cc
+++ b/mojo/apps/js/standalone_main.cc
@@ -27,6 +27,10 @@ class StandaloneJSApp : public JSApp {
return ReadFileToString(path_, source);
}
+ virtual MessagePipeHandle RequestorMessagePipeHandle() override {
+ return MessagePipeHandle();
+ }
+
private:
base::FilePath path_;
};

Powered by Google App Engine
This is Rietveld 408576698