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

Unified Diff: chrome/browser/renderer_host/renderer_security_policy.cc

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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: chrome/browser/renderer_host/renderer_security_policy.cc
===================================================================
--- chrome/browser/renderer_host/renderer_security_policy.cc (revision 10992)
+++ chrome/browser/renderer_host/renderer_security_policy.cc (working copy)
@@ -134,7 +134,8 @@
void RendererSecurityPolicy::RegisterPseudoScheme(const std::string& scheme) {
AutoLock lock(lock_);
DCHECK(pseudo_schemes_.count(scheme) == 0) << "Add schemes at most once.";
- DCHECK(web_safe_schemes_.count(scheme) == 0) << "Psuedo implies not web-safe.";
+ DCHECK(web_safe_schemes_.count(scheme) == 0) <<
+ "Psuedo implies not web-safe.";
pseudo_schemes_.insert(scheme);
}
@@ -159,8 +160,8 @@
if (url.SchemeIs(chrome::kViewSourceScheme)) {
// URLs with the view-source scheme typically look like:
// view-source:http://www.google.com/a
- // In order to request these URLs, the renderer needs to be able to request
- // the embedded URL.
+ // In order to request these URLs, the renderer needs to be able to
+ // request the embedded URL.
GrantRequestURL(renderer_id, GURL(url.path()));
}
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698