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

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

Issue 6339012: More net/ method ordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More done while waiting for previous patch to clear Created 9 years, 11 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
« no previous file with comments | « net/test/test_server.cc ('k') | net/url_request/url_request_about_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 namespace net { 14 namespace net {
15 15
16 class URLRequestAboutJob : public URLRequestJob { 16 class URLRequestAboutJob : public URLRequestJob {
17 public: 17 public:
18 explicit URLRequestAboutJob(URLRequest* request); 18 explicit URLRequestAboutJob(URLRequest* request);
19 19
20 static URLRequest::ProtocolFactory Factory;
21
22 // URLRequestJob:
20 virtual void Start(); 23 virtual void Start();
21 virtual bool GetMimeType(std::string* mime_type) const; 24 virtual bool GetMimeType(std::string* mime_type) const;
22 25
23 static URLRequest::ProtocolFactory Factory;
24
25 private: 26 private:
26 ~URLRequestAboutJob(); 27 virtual ~URLRequestAboutJob();
27 28
28 void StartAsync(); 29 void StartAsync();
29 }; 30 };
30 31
31 } // namespace net 32 } // namespace net
32 33
33 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 34 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
OLDNEW
« no previous file with comments | « net/test/test_server.cc ('k') | net/url_request/url_request_about_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698