Commit 91739efe authored by mmenke@chromium.org's avatar mmenke@chromium.org

Remove ProtocolFactory use from appcache_url_request_job_unittest.

The test now uses its own URLRequestJobFactory instead.
This is being done to remove use of a deprecated API in net/

Also remove most friend classes outside net/ from
URLRequest::Deprecated, as none of them are needed any more,
except for AppCacheInterceptor.

BUG=81979

Review URL: https://codereview.chromium.org/311263011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275298 0039d316-1c4b-4281-b951-d872f2087c98
parent 425460f7
......@@ -31,10 +31,6 @@
#include "net/url_request/url_request_status.h"
#include "url/gurl.h"
// Temporary layering violation to allow existing users of a deprecated
// interface.
class ChildProcessSecurityPolicyTest;
namespace base {
class Value;
......@@ -47,13 +43,6 @@ class StackTrace;
// interface.
namespace content {
class AppCacheInterceptor;
class AppCacheURLRequestJobTest;
class AppCacheRequestHandlerTest;
class BlobURLRequestJobTest;
class FileSystemDirURLRequestJobTest;
class FileSystemURLRequestJobTest;
class FileWriterDelegateTest;
class ResourceDispatcherHostTest;
}
namespace net {
......@@ -160,17 +149,9 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
class NET_EXPORT Deprecated {
private:
// TODO(willchan): Kill off these friend declarations.
friend class ::ChildProcessSecurityPolicyTest;
friend class TestInterceptor;
friend class URLRequestFilter;
friend class content::AppCacheInterceptor;
friend class content::AppCacheRequestHandlerTest;
friend class content::AppCacheURLRequestJobTest;
friend class content::BlobURLRequestJobTest;
friend class content::FileSystemDirURLRequestJobTest;
friend class content::FileSystemURLRequestJobTest;
friend class content::FileWriterDelegateTest;
friend class content::ResourceDispatcherHostTest;
// Use URLRequestJobFactory::ProtocolHandler instead.
static ProtocolFactory* RegisterProtocolFactory(const std::string& scheme,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment