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

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

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 years, 6 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_geturl_test.h" 5 #include "webkit/plugins/npapi/test/plugin_geturl_test.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 14
15 // url for "self". The %22%22 is to make a statement for javascript to 15 // url for "self". The %22%22 is to make a statement for javascript to
16 // evaluate and return. 16 // evaluate and return.
17 #define SELF_URL "javascript:window.location+\"\"" 17 #define SELF_URL "javascript:window.location+\"\""
18 18
19 // The identifier for the self url stream. 19 // The identifier for the self url stream.
20 #define SELF_URL_STREAM_ID 1 20 #define SELF_URL_STREAM_ID 1
21 21
22 // The identifier for the fetched url stream. 22 // The identifier for the fetched url stream.
23 #define FETCHED_URL_STREAM_ID 2 23 #define FETCHED_URL_STREAM_ID 2
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 int32_t status, 411 int32_t status,
412 void* notify_data) { 412 void* notify_data) {
413 if (!base::strcasecmp(url, "http://mock.http/npapi/plugin_read_page.html")) { 413 if (!base::strcasecmp(url, "http://mock.http/npapi/plugin_read_page.html")) {
414 received_url_redirect_notification_ = true; 414 received_url_redirect_notification_ = true;
415 // Disallow redirect notification. 415 // Disallow redirect notification.
416 HostFunctions()->urlredirectresponse(id(), notify_data, false); 416 HostFunctions()->urlredirectresponse(id(), notify_data, false);
417 } 417 }
418 } 418 }
419 419
420 } // namespace NPAPIClient 420 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_utils_unittest.cc ('k') | webkit/plugins/npapi/webplugin_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698