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

Unified Diff: ppapi/tests/test_url_loader.h

Issue 9139076: Added bounds checks to the URLLoader prefetch buffer threshhold. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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
diff --git a/ppapi/tests/test_url_loader.h b/ppapi/tests/test_url_loader.h
index 8dbef70ef89673464e150b77ccf61a7772e1ff3e..51707a05d580c5657a686da69107d6b0ad674cf8 100644
--- a/ppapi/tests/test_url_loader.h
+++ b/ppapi/tests/test_url_loader.h
@@ -47,6 +47,7 @@ class TestURLLoader : public TestCase {
const std::string& header);
int32_t Open(const pp::URLRequestInfo& request,
bool with_universal_access);
+ int32_t OpenWithPrefetchBufferThreshold(int32_t lower, int32_t upper);
std::string TestBasicGET();
std::string TestBasicPOST();
@@ -70,6 +71,9 @@ class TestURLLoader : public TestCase {
std::string TestAuditURLRedirect();
std::string TestAbortCalls();
std::string TestUntendedLoad();
+ std::string TestNegativePrefetchBufferThreshold();
+ std::string TestLegalPrefetchBufferThreshold();
+ std::string TestInvertedPrefetchBufferThreshold();
const PPB_FileIOTrusted* file_io_trusted_interface_;
const PPB_URLLoaderTrusted* url_loader_trusted_interface_;

Powered by Google App Engine
This is Rietveld 408576698