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

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

Issue 19697013: Move NPAPI test plugin to content/test/plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
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 WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_ 5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_
6 #define WEBKIT_PLUGINS_NPAPI_TEST_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"
11 #include "webkit/plugins/npapi/test/plugin_test.h" 11 #include "content/test/plugin/plugin_test.h"
12 12
13 namespace NPAPIClient { 13 namespace NPAPIClient {
14 14
15 // The PluginGetURLTest test functionality of the NPN_GetURL 15 // The PluginGetURLTest test functionality of the NPN_GetURL
16 // and NPN_GetURLNotify methods. 16 // and NPN_GetURLNotify methods.
17 // 17 //
18 // This test first discovers it's URL by sending a GetURL request 18 // This test first discovers it's URL by sending a GetURL request
19 // for 'javascript:top.location'. After receiving that, the 19 // for 'javascript:top.location'. After receiving that, the
20 // test will request the url itself (again via GetURL). 20 // test will request the url itself (again via GetURL).
21 class PluginGetURLTest : public PluginTest { 21 class PluginGetURLTest : public PluginTest {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_notification_;
57 std::string page_not_found_url_; 57 std::string page_not_found_url_;
58 std::string fail_write_url_; 58 std::string fail_write_url_;
59 std::string referrer_target_url_; 59 std::string referrer_target_url_;
60 }; 60 };
61 61
62 } // namespace NPAPIClient 62 } // namespace NPAPIClient
63 63
64 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_ 64 #endif // CONTENT_TEST_PLUGIN_PLUGIN_GETURL_TEST_H_
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_get_javascript_url_test.cc ('k') | content/test/plugin/plugin_geturl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698