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

Unified Diff: content/browser/child_process_security_policy_impl.cc

Issue 9909019: Add schema chrome-extension-resource:// for extension resources (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 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
Index: content/browser/child_process_security_policy_impl.cc
diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
index 3fd4186957c2f37965ebe9e2fd821061f6e63f72..3e043d01c01e3e36bbb1f1146e07c324f0904ccc 100644
--- a/content/browser/child_process_security_policy_impl.cc
+++ b/content/browser/child_process_security_policy_impl.cc
@@ -223,7 +223,7 @@ void ChildProcessSecurityPolicyImpl::RegisterWebSafeScheme(
base::AutoLock lock(lock_);
DCHECK(web_safe_schemes_.count(scheme) == 0) << "Add schemes at most once.";
DCHECK(pseudo_schemes_.count(scheme) == 0) << "Web-safe implies not pseudo.";
-
+ LOG(ERROR) << "scheme == " << scheme;
Tom Sepez 2012/04/11 20:31:16 Remove Debugging. No need to rev this file.
Peng 2012/04/11 21:40:13 Done.
web_safe_schemes_.insert(scheme);
}

Powered by Google App Engine
This is Rietveld 408576698