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

Unified Diff: net/url_request/url_request_job_tracker.h

Issue 6382003: Reorder the methods in net/url_request/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compiling net_unittests != compiling the rest of chrome 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_job.cc ('k') | net/url_request/url_request_throttler_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job_tracker.h
diff --git a/net/url_request/url_request_job_tracker.h b/net/url_request/url_request_job_tracker.h
index 4a03cf7dec3961d734141337d5639c37b72aa3c7..42a146f131d8fa1146970c66633f4773b9a0d9d7 100644
--- a/net/url_request/url_request_job_tracker.h
+++ b/net/url_request/url_request_job_tracker.h
@@ -32,6 +32,8 @@ class URLRequestJobTracker {
// The observer's methods are called on the thread that called AddObserver.
class JobObserver {
public:
+ virtual ~JobObserver() {}
+
// Called after the given job has been added to the list
virtual void OnJobAdded(URLRequestJob* job) = 0;
@@ -54,8 +56,6 @@ class URLRequestJobTracker {
// duration of the OnBytesRead callback.
virtual void OnBytesRead(URLRequestJob* job, const char* buf,
int byte_count) = 0;
-
- virtual ~JobObserver() {}
};
URLRequestJobTracker();
« no previous file with comments | « net/url_request/url_request_job.cc ('k') | net/url_request/url_request_throttler_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698