| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 77c50f1747e99ca09dd7c7132f150f3d90e70466..6b16935cc7976c2b6dd8f8775f7964f73cc6a304 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -219,8 +219,8 @@ void RedirectHostsToTestData(const char* const urls[], size_t size) {
|
| for (size_t i = 0; i < size; ++i) {
|
| const GURL url(urls[i]);
|
| EXPECT_TRUE(url.is_valid());
|
| - filter->AddUrlProtocolHandler(url,
|
| - URLRequestMockHTTPJob::CreateProtocolHandler(base_path));
|
| + filter->AddUrlInterceptor(
|
| + url, URLRequestMockHTTPJob::CreateInterceptor(base_path));
|
| }
|
| }
|
|
|
|
|