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

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

Issue 5607004: net: Remove typedef net::URLRequestJob URLRequestJob; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "net/url_request/url_request.h" 11 #include "net/url_request/url_request.h"
12 #include "net/url_request/url_request_job.h" 12 #include "net/url_request/url_request_job.h"
13 13
14 class URLRequestAboutJob : public URLRequestJob { 14 class URLRequestAboutJob : public net::URLRequestJob {
wtc 2010/12/08 19:32:48 We should move these URLRequestXXXJobs into the 'n
15 public: 15 public:
16 explicit URLRequestAboutJob(net::URLRequest* request); 16 explicit URLRequestAboutJob(net::URLRequest* request);
17 17
18 virtual void Start(); 18 virtual void Start();
19 virtual bool GetMimeType(std::string* mime_type) const; 19 virtual bool GetMimeType(std::string* mime_type) const;
20 20
21 static net::URLRequest::ProtocolFactory Factory; 21 static net::URLRequest::ProtocolFactory Factory;
22 22
23 private: 23 private:
24 ~URLRequestAboutJob(); 24 ~URLRequestAboutJob();
25 25
26 void StartAsync(); 26 void StartAsync();
27 }; 27 };
28 28
29 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 29 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698