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

Unified Diff: content/renderer/npapi/webplugin_impl.cc

Issue 252323006: Renamed namespaces in src/content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 04/29/2014 19:25:43.09 Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/url_schemes.cc ('k') | content/renderer/pepper/url_request_info_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/webplugin_impl.cc
diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc
index 892309bdf653392c07e6ee0140192c45bd130dee..065571bd0777dc9a6e56dbdd0d123ca0deeee701 100644
--- a/content/renderer/npapi/webplugin_impl.cc
+++ b/content/renderer/npapi/webplugin_impl.cc
@@ -658,8 +658,8 @@ bool WebPluginImpl::IsValidUrl(const GURL& url, Referrer referrer_flag) {
// Do url check to make sure that there are no @, ;, \ chars in between url
// scheme and url path.
const char* url_to_check(url.spec().data());
- url_parse::Parsed parsed;
- url_parse::ParseStandardURL(url_to_check, strlen(url_to_check), &parsed);
+ url::Parsed parsed;
+ url::ParseStandardURL(url_to_check, strlen(url_to_check), &parsed);
if (parsed.path.begin <= parsed.scheme.end())
return true;
std::string string_to_search;
@@ -1170,8 +1170,8 @@ void WebPluginImpl::HandleURLRequestInternal(const char* url,
// case in that the request is a javascript url and the target is "_self",
// in which case we route the output to the plugin rather than routing it
// to the plugin's frame.
- bool is_javascript_url = url_util::FindAndCompareScheme(
- url, strlen(url), "javascript", NULL);
+ bool is_javascript_url =
+ url::FindAndCompareScheme(url, strlen(url), "javascript", NULL);
RoutingStatus routing_status = RouteToFrame(
url, is_javascript_url, popups_allowed, method, target, buf, len,
notify_id, referrer_flag);
« no previous file with comments | « content/common/url_schemes.cc ('k') | content/renderer/pepper/url_request_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698