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

Unified Diff: trunk/src/content/browser/child_process_security_policy_unittest.cc

Issue 12605011: Revert 188912 "Removed static factories for data, ftp, file, and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/content/browser/child_process_security_policy_unittest.cc
===================================================================
--- trunk/src/content/browser/child_process_security_policy_unittest.cc (revision 188924)
+++ trunk/src/content/browser/child_process_security_policy_unittest.cc (working copy)
@@ -60,13 +60,7 @@
// Claim to always handle chrome:// URLs because the CPSP's notion of
// allowing WebUI bindings is hard-wired to this particular scheme.
- test_browser_client_.AddScheme(chrome::kChromeUIScheme);
-
- // Claim to always handle file:// URLs like the browser would.
- // net::URLRequest::IsHandledURL() no longer claims support for default
- // protocols as this is the responsibility of the browser (which is
- // responsible for adding the appropriate ProtocolHandler).
- test_browser_client_.AddScheme(chrome::kFileScheme);
+ test_browser_client_.AddScheme("chrome");
}
virtual void TearDown() {

Powered by Google App Engine
This is Rietveld 408576698