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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: extensions/browser/guest_view/web_view/web_view_guest.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.cc b/extensions/browser/guest_view/web_view/web_view_guest.cc
index f4d1cc4fe7039f12593f52c921a9ad37c2f7acb5..839d5d1a8baa4a05e64379e74c38be66716cda08 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.cc
+++ b/extensions/browser/guest_view/web_view/web_view_guest.cc
@@ -1187,20 +1187,20 @@ bool WebViewGuest::LoadDataWithBaseURL(const std::string& data_url,
// Check that the provided URLs are valid.
// |data_url| must be a valid data URL.
if (!data_gurl.is_valid() || !data_gurl.SchemeIs(url::kDataScheme)) {
- base::SStringPrintf(
- error, webview::kAPILoadDataInvalidDataURL, data_url.c_str());
+ /*base::SStringPrintf(
+ error, webview::kAPILoadDataInvalidDataURL, data_url.c_str());*/
brucedawson 2015/10/20 21:43:00 String printing of GURLs (three very similar insta
return false;
}
// |base_url| must be a valid URL.
if (!base_gurl.is_valid()) {
- base::SStringPrintf(
- error, webview::kAPILoadDataInvalidBaseURL, base_url.c_str());
+ /*base::SStringPrintf(
+ error, webview::kAPILoadDataInvalidBaseURL, base_url.c_str());*/
return false;
}
// |virtual_url| must be a valid URL.
if (!virtual_gurl.is_valid()) {
- base::SStringPrintf(
- error, webview::kAPILoadDataInvalidVirtualURL, virtual_url.c_str());
+ /*base::SStringPrintf(
+ error, webview::kAPILoadDataInvalidVirtualURL, virtual_url.c_str());*/
return false;
}

Powered by Google App Engine
This is Rietveld 408576698