Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
fetched_content.html | 01-Nov-2013 | 111 | |
README_chrome_developer.txt | 01-Nov-2013 | 876 | |
stream_to_file.cc | 01-Nov-2013 | 5K | |
streaming.cc | 01-Nov-2013 | 5.6K | |
url_loader.html | 01-Nov-2013 | 1.4K |
1 If you're a Chrome developer, here's how to run this example: 2 3 Build the example, i.e. "make ppapi_example_url_loader" on Linux. 4 5 In the "src" directory, start the test server: 6 7 On Linux: 8 export PYTHONPATH=third_party/pyftpdlib:third_party/tlslite:third_party 9 python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader 10 11 On Windows: 12 set PYTHONPATH=third_party\pyftpdlib;third_party\tlslite:third_party 13 python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader 14 15 Then load the page: 16 17 On Linux: 18 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 19 20 On Windows just substitute the generated .dll name for the .so. 21 22 And click the button! 23