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

Unified Diff: webkit/blob/blob_url_request_job_unittest.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: webkit/blob/blob_url_request_job_unittest.cc
diff --git a/webkit/blob/blob_url_request_job_unittest.cc b/webkit/blob/blob_url_request_job_unittest.cc
index c5f6240e67e7b166c0d0ca2ef43a2fc39c098ca2..6a0bb6f93bedba8d8623d027f1785f18e658e9ff 100644
--- a/webkit/blob/blob_url_request_job_unittest.cc
+++ b/webkit/blob/blob_url_request_job_unittest.cc
@@ -174,7 +174,8 @@ class BlobURLRequestJobTest : public testing::Test {
void SetUpTest() {
DCHECK(MessageLoop::current() == io_thread_->message_loop());
- net::URLRequest::RegisterProtocolFactory("blob", &BlobURLRequestJobFactory);
+ net::URLRequest::Deprecated::RegisterProtocolFactory(
+ "blob", &BlobURLRequestJobFactory);
url_request_delegate_.reset(new MockURLRequestDelegate(this));
}
@@ -185,7 +186,7 @@ class BlobURLRequestJobTest : public testing::Test {
url_request_delegate_.reset();
DCHECK(!blob_url_request_job_);
- net::URLRequest::RegisterProtocolFactory("blob", NULL);
+ net::URLRequest::Deprecated::RegisterProtocolFactory("blob", NULL);
}
void TestFinished() {
« no previous file with comments | « webkit/appcache/appcache_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_dir_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698