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

Unified Diff: net/url_request/url_request_throttler_manager.h

Issue 10440119: Introduce a delegate to avoid hardcoding "chrome-extension" in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review requests. Created 8 years, 6 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
Index: net/url_request/url_request_throttler_manager.h
diff --git a/net/url_request/url_request_throttler_manager.h b/net/url_request/url_request_throttler_manager.h
index 427b42e9f2f87b062ed83e0418b81fee5b47ffc1..57453020ece79ed9ebd1397736e9e0f7b23044ca 100644
--- a/net/url_request/url_request_throttler_manager.h
+++ b/net/url_request/url_request_throttler_manager.h
@@ -17,6 +17,7 @@
#include "googleurl/src/gurl.h"
#include "net/base/net_export.h"
#include "net/base/network_change_notifier.h"
+#include "net/url_request/url_request_context.h"
eroman 2012/06/06 04:52:11 Is this header used?
Jói 2012/06/06 13:38:55 Only in the .cc file, moved it there.
#include "net/url_request/url_request_throttler_entry.h"
namespace net {
@@ -141,10 +142,6 @@ class NET_EXPORT URLRequestThrottlerManager
// Valid after construction.
GURL::Replacements url_id_replacements_;
- // Whether we would like to reject outgoing HTTP requests during the back-off
- // period.
- bool enforce_throttling_;
-
// Certain tests do not obey the net component's threading policy, so we
// keep track of whether we're being used by tests, and turn off certain
// checks.

Powered by Google App Engine
This is Rietveld 408576698