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

Unified Diff: net/url_request/url_request_unittest.cc

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_unittest.cc
===================================================================
--- net/url_request/url_request_unittest.cc (revision 31079)
+++ net/url_request/url_request_unittest.cc (working copy)
@@ -66,6 +66,7 @@
accept_charset_ = "iso-8859-1,*,utf-8";
}
+ private:
virtual ~URLRequestTestContext() {
delete ftp_transaction_factory_;
delete http_transaction_factory_;
@@ -1433,6 +1434,8 @@
virtual void StartAsync() {
this->NotifyRestartRequired();
}
+ private:
+ ~RestartTestJob() {}
};
class CancelTestJob : public URLRequestTestJob {
@@ -1443,6 +1446,8 @@
virtual void StartAsync() {
request_->Cancel();
}
+ private:
+ ~CancelTestJob() {}
};
class CancelThenRestartTestJob : public URLRequestTestJob {
@@ -1455,6 +1460,8 @@
request_->Cancel();
this->NotifyRestartRequired();
}
+ private:
+ ~CancelThenRestartTestJob() {}
};
// An Interceptor for use with interceptor tests

Powered by Google App Engine
This is Rietveld 408576698