| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2009 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. |
| 4 |
| 5 #ifndef NET_URL_REQUEST_URL_REQUEST_VIEW_NET_INTERNAL_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_VIEW_NET_INTERNAL_JOB_H_ |
| 7 |
| 8 #include "net/url_request/url_request.h" |
| 9 #include "net/url_request/url_request_simple_job.h" |
| 10 |
| 11 // A job subclass that implements the view-net-internal: protocol, which simply |
| 12 // provides a debug view of the various network components. |
| 13 class URLRequestViewNetInternalJob : public URLRequestSimpleJob { |
| 14 public: |
| 15 URLRequestViewNetInternalJob(URLRequest* request) |
| 16 : URLRequestSimpleJob(request) {} |
| 17 |
| 18 static URLRequest::ProtocolFactory Factory; |
| 19 |
| 20 // override from URLRequestSimpleJob |
| 21 virtual bool GetData(std::string* mime_type, |
| 22 std::string* charset, |
| 23 std::string* data) const; |
| 24 }; |
| 25 |
| 26 #endif // NET_URL_REQUEST_URL_REQUEST_VIEW_NET_INTERNAL_JOB_H_ |
| OLD | NEW |