Index: net/url_request/url_request_throttler_entry_interface.h |
diff --git a/net/url_request/url_request_throttler_entry_interface.h b/net/url_request/url_request_throttler_entry_interface.h |
index e3fc5bae46d468287909440d34f3db4e8a4ea3fa..63dd14cbf0e250ac30377341d7d4ea810787a6cb 100644 |
--- a/net/url_request/url_request_throttler_entry_interface.h |
+++ b/net/url_request/url_request_throttler_entry_interface.h |
@@ -4,6 +4,7 @@ |
#ifndef NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_INTERFACE_H_ |
#define NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_INTERFACE_H_ |
+#pragma once |
#include "base/basictypes.h" |
#include "base/ref_counted.h" |
@@ -50,9 +51,6 @@ class URLRequestThrottlerEntryInterface |
// the request, i.e. it will count as a failure. |
virtual void ReceivedContentWasMalformed() = 0; |
- // For unit testing only. |
- virtual void SetEntryLifetimeMsForTest(int lifetime_ms) = 0; |
- |
protected: |
friend class base::RefCountedThreadSafe<URLRequestThrottlerEntryInterface>; |
virtual ~URLRequestThrottlerEntryInterface() {} |