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

Side by Side Diff: content/test/plugin/plugin_get_javascript_url_test.cc

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 #include "webkit/plugins/npapi/test/plugin_get_javascript_url_test.h" 5 #include "content/test/plugin/plugin_get_javascript_url_test.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 // url for "self". 10 // url for "self".
11 #define SELF_URL "javascript:window.location+\"\"" 11 #define SELF_URL "javascript:window.location+\"\""
12 // The identifier for the self url stream. 12 // The identifier for the self url stream.
13 #define SELF_URL_STREAM_ID 1 13 #define SELF_URL_STREAM_ID 1
14 14
15 // The identifier for the fetched url stream. 15 // The identifier for the fetched url stream.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 SetError("Failed to obtain window location."); 213 SetError("Failed to obtain window location.");
214 SignalTestCompleted(); 214 SignalTestCompleted();
215 break; 215 break;
216 default: 216 default:
217 SetError("Unexpected NewStream callback"); 217 SetError("Unexpected NewStream callback");
218 break; 218 break;
219 } 219 }
220 } 220 }
221 221
222 } // namespace NPAPIClient 222 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_get_javascript_url_test.h ('k') | content/test/plugin/plugin_geturl_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698