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

Side by Side Diff: net/url_request/url_request_view_net_internal_job.h

Issue 173024: Add skeleton for an about:net-internal page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address darin's comment, and sync Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/url_request/url_request_job_manager.cc ('k') | net/url_request/url_request_view_net_internal_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698