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

Unified Diff: net/url_request/url_request_throttler_entry.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_tracker.h ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_throttler_entry.h
diff --git a/net/url_request/url_request_throttler_entry.h b/net/url_request/url_request_throttler_entry.h
index ac33fa14f7d3b431bf3bdc1efffb1ae468709776..40262379e83dc3bae68b30ea01d4e0dca8835b4b 100644
--- a/net/url_request/url_request_throttler_entry.h
+++ b/net/url_request/url_request_throttler_entry.h
@@ -68,6 +68,10 @@ class URLRequestThrottlerEntry : public URLRequestThrottlerEntryInterface {
double jitter_factor,
int maximum_backoff_ms);
+ // Used by the manager, returns true if the entry needs to be garbage
+ // collected.
+ bool IsEntryOutdated() const;
+
// Implementation of URLRequestThrottlerEntryInterface.
virtual bool IsDuringExponentialBackoff() const;
virtual int64 ReserveSendingTimeForNextRequest(
@@ -77,10 +81,6 @@ class URLRequestThrottlerEntry : public URLRequestThrottlerEntryInterface {
const URLRequestThrottlerHeaderInterface* response);
virtual void ReceivedContentWasMalformed();
- // Used by the manager, returns true if the entry needs to be garbage
- // collected.
- bool IsEntryOutdated() const;
-
protected:
virtual ~URLRequestThrottlerEntry();
« no previous file with comments | « net/url_request/url_request_job_tracker.h ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698