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

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

Issue 368001: Second patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
11 #include "net/url_request/url_request_job.h" 11 #include "net/url_request/url_request_job.h"
12 12
13 class URLRequestAboutJob : public URLRequestJob { 13 class URLRequestAboutJob : public URLRequestJob {
14 public: 14 public:
15 explicit URLRequestAboutJob(URLRequest* request); 15 explicit URLRequestAboutJob(URLRequest* request);
16 16
17 virtual void Start(); 17 virtual void Start();
18 virtual bool GetMimeType(std::string* mime_type) const; 18 virtual bool GetMimeType(std::string* mime_type) const;
19 19
20 static URLRequest::ProtocolFactory Factory; 20 static URLRequest::ProtocolFactory Factory;
21 21
22 private: 22 private:
23 ~URLRequestAboutJob() {}
24
23 void StartAsync(); 25 void StartAsync();
24 }; 26 };
25 27
26 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_ 28 #endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698