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

Unified Diff: chrome/browser/automation/url_request_automation_job.cc

Issue 7397008: Deprecate RegisterProtocolFactory/(Un)RegisterInterceptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indent. Created 9 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/component_updater_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/url_request_automation_job.cc
diff --git a/chrome/browser/automation/url_request_automation_job.cc b/chrome/browser/automation/url_request_automation_job.cc
index 95e40dc8cb5bdbfa7f0f29b488fb72ea4187f382..c232bbdb4ae68bf70d491642e954278202f29d23 100644
--- a/chrome/browser/automation/url_request_automation_job.cc
+++ b/chrome/browser/automation/url_request_automation_job.cc
@@ -81,10 +81,10 @@ bool URLRequestAutomationJob::EnsureProtocolFactoryRegistered() {
if (!is_protocol_factory_registered_) {
old_http_factory_ =
- net::URLRequest::RegisterProtocolFactory(
+ net::URLRequest::Deprecated::RegisterProtocolFactory(
"http", &URLRequestAutomationJob::Factory);
old_https_factory_ =
- net::URLRequest::RegisterProtocolFactory(
+ net::URLRequest::Deprecated::RegisterProtocolFactory(
"https", &URLRequestAutomationJob::Factory);
is_protocol_factory_registered_ = true;
}
« no previous file with comments | « no previous file | chrome/browser/component_updater/component_updater_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698