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

Unified Diff: ppapi/tests/test_url_loader.h

Issue 6899055: PPAPI: Force async callback invocation option. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/tests/test_url_loader.h
===================================================================
--- ppapi/tests/test_url_loader.h (revision 82761)
+++ ppapi/tests/test_url_loader.h (working copy)
@@ -26,11 +26,13 @@
virtual void RunTest();
private:
- std::string ReadEntireFile(pp::FileIO_Dev* file_io, std::string* data);
+ std::string ReadEntireFile(pp::FileIO_Dev* file_io, std::string* data,
+ bool force_async);
std::string ReadEntireResponseBody(pp::URLLoader* loader,
std::string* body);
std::string LoadAndCompareBody(const pp::URLRequestInfo& request,
const std::string& expected_body);
+ std::string StreamToFile(bool force_async);
std::string TestBasicGET();
std::string TestBasicPOST();
@@ -40,6 +42,7 @@
std::string TestCustomRequestHeader();
std::string TestIgnoresBogusContentLength();
std::string TestStreamToFile();
+ std::string TestStreamToFileForceAsync();
std::string TestSameOriginRestriction();
std::string TestCrossOriginRequest();
std::string TestAuditURLRedirect();

Powered by Google App Engine
This is Rietveld 408576698