| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_url2_test.h" | 5 #include "webkit/glue/plugins/test/plugin_get_javascript_url2_test.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 // url for "self". | 9 // url for "self". |
| 10 #define SELF_URL "javascript:window.location+\"\"" | 10 #define SELF_URL "javascript:window.location+\"\"" |
| 11 // The identifier for the self url stream. | 11 // The identifier for the self url stream. |
| 12 #define SELF_URL_STREAM_ID 1 | 12 #define SELF_URL_STREAM_ID 1 |
| 13 | 13 |
| 14 // The identifier for the fetched url stream. | 14 // The identifier for the fetched url stream. |
| 15 #define FETCHED_URL_STREAM_ID 2 | 15 #define FETCHED_URL_STREAM_ID 2 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 SetError("Failed to obtain window location."); | 125 SetError("Failed to obtain window location."); |
| 126 SignalTestCompleted(); | 126 SignalTestCompleted(); |
| 127 break; | 127 break; |
| 128 default: | 128 default: |
| 129 SetError("Unexpected NewStream callback"); | 129 SetError("Unexpected NewStream callback"); |
| 130 break; | 130 break; |
| 131 } | 131 } |
| 132 } | 132 } |
| 133 | 133 |
| 134 } // namespace NPAPIClient | 134 } // namespace NPAPIClient |
| OLD | NEW |