summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_url_loader.h
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-06 00:00:54 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-06 00:00:54 +0000
commit65e88c793e1ecc284af0ac5423c2553edf3b3f56 (patch)
tree4c234230fe89cea1a80e9aa3bcf3d7550f9beba1 /ppapi/tests/test_url_loader.h
parent90aebb5621ecdc31f97aa81a9eba7b47a6c246c0 (diff)
downloadchromium_src-65e88c793e1ecc284af0ac5423c2553edf3b3f56.zip
chromium_src-65e88c793e1ecc284af0ac5423c2553edf3b3f56.tar.gz
chromium_src-65e88c793e1ecc284af0ac5423c2553edf3b3f56.tar.bz2
Remove redundant XHR method/header validation. This is done byAssociatedURLLoader now.
BUG=none TEST=ui_tests,nacl_integration Review URL: http://codereview.chromium.org/8359009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_url_loader.h')
-rw-r--r--ppapi/tests/test_url_loader.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/ppapi/tests/test_url_loader.h b/ppapi/tests/test_url_loader.h
index 18817ed..0939848 100644
--- a/ppapi/tests/test_url_loader.h
+++ b/ppapi/tests/test_url_loader.h
@@ -10,6 +10,7 @@
#include "ppapi/tests/test_case.h"
struct PPB_FileIOTrusted;
+struct PPB_URLLoaderTrusted;
namespace pp {
class FileIO;
@@ -37,6 +38,15 @@ class TestURLLoader : public TestCase {
int32_t PrepareFileForPost(const pp::FileRef& file_ref,
const std::string& data,
std::string* message);
+ std::string GetReachableCrossOriginURL();
+ int32_t OpenUntrusted(const pp::URLRequestInfo& request);
+ int32_t OpenTrusted(const pp::URLRequestInfo& request);
+ int32_t OpenUntrusted(const std::string& method,
+ const std::string& header);
+ int32_t OpenTrusted(const std::string& method,
+ const std::string& header);
+ int32_t Open(const pp::URLRequestInfo& request,
+ bool with_universal_access);
std::string TestBasicGET();
std::string TestBasicPOST();
@@ -49,13 +59,18 @@ class TestURLLoader : public TestCase {
std::string TestFailsBogusContentLength();
std::string TestStreamToFile();
std::string TestSameOriginRestriction();
- std::string TestJavascriptURLRestriction();
std::string TestCrossOriginRequest();
+ std::string TestJavascriptURLRestriction();
+ std::string TestMethodRestriction();
+ std::string TestHeaderRestriction();
+ std::string TestCustomReferrer();
+ std::string TestCustomContentTransferEncoding();
std::string TestAuditURLRedirect();
std::string TestAbortCalls();
std::string TestUntendedLoad();
const PPB_FileIOTrusted* file_io_trusted_interface_;
+ const PPB_URLLoaderTrusted* url_loader_trusted_interface_;
};
#endif // PAPPI_TESTS_TEST_URL_LOADER_H_