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

Unified Diff: ppapi/examples/url_loader/README_chrome_developer.txt

Issue 7330027: Add an example for using the URLLoader in streaming mode. This also avoids the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 5 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: ppapi/examples/url_loader/README_chrome_developer.txt
===================================================================
--- ppapi/examples/url_loader/README_chrome_developer.txt (revision 0)
+++ ppapi/examples/url_loader/README_chrome_developer.txt (revision 0)
@@ -0,0 +1,22 @@
+If you're a Chrome developer, here's how to run this example:
+
+Build the example, i.e. "make ppapi_example_url_loader" on Linux.
+
+In the "src" directory, start the test server:
+
+ On Linux:
+ export PYTHONPATH=third_party/pyftpdlib:third_party/tlslite:third_party
+ python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
+
+ On Windows:
+ set PYTHONPATH=third_party\pyftpdlib;third_party\tlslite:third_party
+ python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
+
+Then load the page:
+
+ On Linux:
+ out/Debug/chrome --register-pepper-plugins="[[[ YOUR SOURCE DIR ]]]/out/Debug/lib.target/libppapi_example_url_loader.so;application/x-ppapi-url-loader-example" http://127.0.0.1:1337/files/url_loader.html
+
+ On Windows just substitute the generated .dll name for the .so.
+
+And click the button!
Property changes on: ppapi/examples/url_loader/README_chrome_developer.txt
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698