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

Unified Diff: chrome/browser/component_updater/component_updater_interceptor.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
Index: chrome/browser/component_updater/component_updater_interceptor.cc
diff --git a/chrome/browser/component_updater/component_updater_interceptor.cc b/chrome/browser/component_updater/component_updater_interceptor.cc
index 244d7684209ab9a1fe0aacc971accfd0544f4fc3..d6cb88c9138bdcf040ddde2be69fb87fb2fd1046 100644
--- a/chrome/browser/component_updater/component_updater_interceptor.cc
+++ b/chrome/browser/component_updater/component_updater_interceptor.cc
@@ -10,11 +10,11 @@
#include "testing/gtest/include/gtest/gtest.h"
ComponentUpdateInterceptor::ComponentUpdateInterceptor() {
- net::URLRequest::RegisterRequestInterceptor(this);
+ net::URLRequest::Deprecated::RegisterRequestInterceptor(this);
}
ComponentUpdateInterceptor::~ComponentUpdateInterceptor() {
- net::URLRequest::UnregisterRequestInterceptor(this);
+ net::URLRequest::Deprecated::UnregisterRequestInterceptor(this);
}
net::URLRequestJob* ComponentUpdateInterceptor::MaybeIntercept(
« no previous file with comments | « chrome/browser/automation/url_request_automation_job.cc ('k') | chrome/browser/extensions/autoupdate_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698