Home | History | Annotate | only in /external/chromium_org/ppapi/examples/url_loader
Up to higher level directory
NameDateSize
fetched_content.html11-Dec-2013111
README_chrome_developer.txt11-Dec-2013876
stream_to_file.cc11-Dec-20135K
streaming.cc11-Dec-20135.6K
url_loader.html11-Dec-20131.4K

README_chrome_developer.txt

      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