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

Side by Side Diff: content/test/plugin/plugin_geturl_test.h

Issue 62203013: Add regression test for 301510 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 1 month 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 | « content/browser/plugin_browsertest.cc ('k') | content/test/plugin/plugin_geturl_test.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 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
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_
OLDNEW
« no previous file with comments | « content/browser/plugin_browsertest.cc ('k') | content/test/plugin/plugin_geturl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698