1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
10 #include "base/memory/weak_ptr.h"
11 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_job.h"
16 class NET_EXPORT URLRequestAboutJob
: public URLRequestJob
{
18 URLRequestAboutJob(URLRequest
* request
, NetworkDelegate
* network_delegate
);
21 void Start() override
;
22 bool GetMimeType(std::string
* mime_type
) const override
;
25 ~URLRequestAboutJob() override
;
29 base::WeakPtrFactory
<URLRequestAboutJob
> weak_factory_
;
34 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_