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

Unified Diff: net/url_request/url_request_inet_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 side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request_inet_job.h
===================================================================
--- net/url_request/url_request_inet_job.h (revision 31079)
+++ net/url_request/url_request_inet_job.h (working copy)
@@ -22,7 +22,6 @@
class URLRequestInetJob : public URLRequestJob {
public:
URLRequestInetJob(URLRequest* request);
- virtual ~URLRequestInetJob();
virtual void SetExtraRequestHeaders(const std::string& headers) {
extra_request_headers_ = headers;
@@ -57,7 +56,9 @@
HINTERNET request_handle() const { return request_handle_; }
-protected:
+ protected:
+ virtual ~URLRequestInetJob();
+
// Called by this class and subclasses to send or resend this request.
virtual void SendRequest() = 0;

Powered by Google App Engine
This is Rietveld 408576698