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

Unified Diff: chrome/browser/net/connect_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/net/connect_interceptor.cc
diff --git a/chrome/browser/net/connect_interceptor.cc b/chrome/browser/net/connect_interceptor.cc
index f6954540165f2b9d5bfb4b228c97472d855cc5b4..5938df280fb689fd7c091f9c9a494e96fc548c78 100644
--- a/chrome/browser/net/connect_interceptor.cc
+++ b/chrome/browser/net/connect_interceptor.cc
@@ -19,11 +19,11 @@ static const int kMaxUnusedSocketLifetimeSecondsWithoutAGet = 10;
ConnectInterceptor::ConnectInterceptor()
: timed_cache_(base::TimeDelta::FromSeconds(
kMaxUnusedSocketLifetimeSecondsWithoutAGet)) {
- net::URLRequest::RegisterRequestInterceptor(this);
+ net::URLRequest::Deprecated::RegisterRequestInterceptor(this);
}
ConnectInterceptor::~ConnectInterceptor() {
- net::URLRequest::UnregisterRequestInterceptor(this);
+ net::URLRequest::Deprecated::UnregisterRequestInterceptor(this);
}
net::URLRequestJob* ConnectInterceptor::MaybeIntercept(

Powered by Google App Engine
This is Rietveld 408576698