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

Side by Side Diff: ppapi/tests/test_url_loader.h

Issue 8857003: Consolidate tests for HTTP request restrictions on untrusted loaders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/tests/test_url_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PAPPI_TESTS_TEST_URL_LOADER_H_ 5 #ifndef PAPPI_TESTS_TEST_URL_LOADER_H_
6 #define PAPPI_TESTS_TEST_URL_LOADER_H_ 6 #define PAPPI_TESTS_TEST_URL_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/tests/test_case.h" 10 #include "ppapi/tests/test_case.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 std::string TestBinaryDataPOST(); 57 std::string TestBinaryDataPOST();
58 std::string TestCustomRequestHeader(); 58 std::string TestCustomRequestHeader();
59 std::string TestFailsBogusContentLength(); 59 std::string TestFailsBogusContentLength();
60 std::string TestStreamToFile(); 60 std::string TestStreamToFile();
61 std::string TestUntrustedSameOriginRestriction(); 61 std::string TestUntrustedSameOriginRestriction();
62 std::string TestTrustedSameOriginRestriction(); 62 std::string TestTrustedSameOriginRestriction();
63 std::string TestUntrustedCrossOriginRequest(); 63 std::string TestUntrustedCrossOriginRequest();
64 std::string TestTrustedCrossOriginRequest(); 64 std::string TestTrustedCrossOriginRequest();
65 std::string TestUntrustedJavascriptURLRestriction(); 65 std::string TestUntrustedJavascriptURLRestriction();
66 std::string TestTrustedJavascriptURLRestriction(); 66 std::string TestTrustedJavascriptURLRestriction();
67 std::string TestUntrustedMethodRestriction(); 67 std::string TestUntrustedHttpRequests();
68 std::string TestTrustedMethodRestriction(); 68 std::string TestTrustedHttpRequests();
69 std::string TestUntrustedHeaderRestriction();
70 std::string TestTrustedHeaderRestriction();
71 std::string TestUntrustedCustomReferrer();
72 std::string TestTrustedCustomReferrer();
73 std::string TestUntrustedCustomContentTransferEncoding();
74 std::string TestTrustedCustomContentTransferEncoding();
75 std::string TestAuditURLRedirect(); 69 std::string TestAuditURLRedirect();
76 std::string TestAbortCalls(); 70 std::string TestAbortCalls();
77 std::string TestUntendedLoad(); 71 std::string TestUntendedLoad();
78 72
79 const PPB_FileIOTrusted* file_io_trusted_interface_; 73 const PPB_FileIOTrusted* file_io_trusted_interface_;
80 const PPB_URLLoaderTrusted* url_loader_trusted_interface_; 74 const PPB_URLLoaderTrusted* url_loader_trusted_interface_;
81 }; 75 };
82 76
83 #endif // PAPPI_TESTS_TEST_URL_LOADER_H_ 77 #endif // PAPPI_TESTS_TEST_URL_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/tests/test_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698