OLD | NEW |
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 CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ | 5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ |
6 #define CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ | 6 #define CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ |
7 | 7 |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 bool tests_started_; | 46 bool tests_started_; |
47 int tests_in_progress_; | 47 int tests_in_progress_; |
48 std::string self_url_; | 48 std::string self_url_; |
49 FILE* test_file_; | 49 FILE* test_file_; |
50 bool expect_404_response_; | 50 bool expect_404_response_; |
51 // This flag is set to true in the context of the NPN_Evaluate call. | 51 // This flag is set to true in the context of the NPN_Evaluate call. |
52 bool npn_evaluate_context_; | 52 bool npn_evaluate_context_; |
53 // The following two flags handle URL redirect notifications received by | 53 // The following two flags handle URL redirect notifications received by |
54 // plugins. | 54 // plugins. |
55 bool handle_url_redirects_; | 55 bool handle_url_redirects_; |
56 bool received_url_redirect_notification_; | 56 bool received_url_redirect_cancel_notification_; |
| 57 bool received_url_redirect_allow_notification_; |
57 std::string page_not_found_url_; | 58 std::string page_not_found_url_; |
58 std::string fail_write_url_; | 59 std::string fail_write_url_; |
59 std::string referrer_target_url_; | 60 std::string referrer_target_url_; |
60 bool check_cookies_; | 61 bool check_cookies_; |
61 }; | 62 }; |
62 | 63 |
63 } // namespace NPAPIClient | 64 } // namespace NPAPIClient |
64 | 65 |
65 #endif // CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ | 66 #endif // CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_ |
OLD | NEW |