| Index: content/browser/child_process_security_policy_unittest.cc
|
| diff --git a/content/browser/child_process_security_policy_unittest.cc b/content/browser/child_process_security_policy_unittest.cc
|
| index 6aad9d96e9cfed21a1613c9fee0dcb98d2e6271d..e4c5f3882f4e02ae393a01d90bd01683b77a9501 100644
|
| --- a/content/browser/child_process_security_policy_unittest.cc
|
| +++ b/content/browser/child_process_security_policy_unittest.cc
|
| @@ -59,7 +59,13 @@ class ChildProcessSecurityPolicyTest : public testing::Test {
|
|
|
| // 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");
|
| + 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);
|
| }
|
|
|
| virtual void TearDown() {
|
|
|