Index: chrome/browser/extensions/extension_management_browsertest.cc |
=================================================================== |
--- chrome/browser/extensions/extension_management_browsertest.cc (revision 107061) |
+++ chrome/browser/extensions/extension_management_browsertest.cc (working copy) |
@@ -302,7 +302,7 @@ |
FilePath basedir = test_data_dir_.AppendASCII("autoupdate"); |
// Note: This interceptor gets requests on the IO thread. |
scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor()); |
- URLFetcher::enable_interception_for_tests(true); |
+ content::URLFetcher::SetEnableInterceptionForTests(true); |
interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest", |
basedir.AppendASCII("manifest_v2.xml")); |
@@ -373,7 +373,7 @@ |
// Note: This interceptor gets requests on the IO thread. |
scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor()); |
- URLFetcher::enable_interception_for_tests(true); |
+ content::URLFetcher::SetEnableInterceptionForTests(true); |
interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest", |
basedir.AppendASCII("manifest_v2.xml")); |
@@ -456,7 +456,7 @@ |
// Note: This interceptor gets requests on the IO thread. |
scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor()); |
- URLFetcher::enable_interception_for_tests(true); |
+ content::URLFetcher::SetEnableInterceptionForTests(true); |
interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest", |
basedir.AppendASCII("manifest_v2.xml")); |
@@ -526,7 +526,7 @@ |
// Note: This interceptor gets requests on the IO thread. |
scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor()); |
- URLFetcher::enable_interception_for_tests(true); |
+ content::URLFetcher::SetEnableInterceptionForTests(true); |
interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest", |
basedir.AppendASCII("manifest_v2.xml")); |