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

Side by Side Diff: webkit/plugins/npapi/test/plugin_geturl_test.h

Issue 5996003: Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_
6 #define WEBKIT_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "webkit/glue/plugins/test/plugin_test.h" 10 #include "webkit/plugins/npapi/test/plugin_test.h"
11 11
12 namespace NPAPIClient { 12 namespace NPAPIClient {
13 13
14 // The PluginGetURLTest test functionality of the NPN_GetURL 14 // The PluginGetURLTest test functionality of the NPN_GetURL
15 // and NPN_GetURLNotify methods. 15 // and NPN_GetURLNotify methods.
16 // 16 //
17 // This test first discovers it's URL by sending a GetURL request 17 // This test first discovers it's URL by sending a GetURL request
18 // for 'javascript:top.location'. After receiving that, the 18 // for 'javascript:top.location'. After receiving that, the
19 // test will request the url itself (again via GetURL). 19 // test will request the url itself (again via GetURL).
20 class PluginGetURLTest : public PluginTest { 20 class PluginGetURLTest : public PluginTest {
(...skipping 28 matching lines...) Expand all
49 bool npn_evaluate_context_; 49 bool npn_evaluate_context_;
50 // The following two flags handle URL redirect notifications received by 50 // The following two flags handle URL redirect notifications received by
51 // plugins. 51 // plugins.
52 bool handle_url_redirects_; 52 bool handle_url_redirects_;
53 bool received_url_redirect_notification_; 53 bool received_url_redirect_notification_;
54 std::string page_not_found_url_; 54 std::string page_not_found_url_;
55 std::string fail_write_url_; 55 std::string fail_write_url_;
56 std::string referrer_target_url_; 56 std::string referrer_target_url_;
57 }; 57 };
58 58
59 } // namespace NPAPIClient 59 } // namespace NPAPIClient
60 60
61 #endif // WEBKIT_PORT_PLUGINS_TEST_PLUGIN_GETURL_TEST_H__ 61 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_GETURL_TEST_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc ('k') | webkit/plugins/npapi/test/plugin_geturl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698