summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/throttling_resource_handler.h
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 21:55:57 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-28 21:55:57 +0000
commitd22e800e2cf8ddc13d4491e9eeec09a93815e7a9 (patch)
treefdbd5c9ab68e20cccd749f4a3bfef40b63790b0c /content/browser/loader/throttling_resource_handler.h
parent9646057ea365fd0d0ccdde7d4989517d1e56bdd3 (diff)
downloadchromium_src-d22e800e2cf8ddc13d4491e9eeec09a93815e7a9.zip
chromium_src-d22e800e2cf8ddc13d4491e9eeec09a93815e7a9.tar.gz
chromium_src-d22e800e2cf8ddc13d4491e9eeec09a93815e7a9.tar.bz2
Remove request_id parameter from ResourceHandler methods.
AsyncResourceHandler and downloads are the only components which consume it. Everyone else just passes it down. Pull it out of ResourceRequestInfo where needed. Other components need not deal with it. BUG=376003 Review URL: https://codereview.chromium.org/298253006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/loader/throttling_resource_handler.h')
-rw-r--r--content/browser/loader/throttling_resource_handler.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/content/browser/loader/throttling_resource_handler.h b/content/browser/loader/throttling_resource_handler.h
index 9de6951..fd284db 100644
--- a/content/browser/loader/throttling_resource_handler.h
+++ b/content/browser/loader/throttling_resource_handler.h
@@ -31,17 +31,13 @@ class ThrottlingResourceHandler : public LayeredResourceHandler,
virtual ~ThrottlingResourceHandler();
// LayeredResourceHandler overrides:
- virtual bool OnRequestRedirected(int request_id, const GURL& url,
+ virtual bool OnRequestRedirected(const GURL& url,
ResourceResponse* response,
bool* defer) OVERRIDE;
- virtual bool OnResponseStarted(int request_id,
- ResourceResponse* response,
+ virtual bool OnResponseStarted(ResourceResponse* response,
bool* defer) OVERRIDE;
- virtual bool OnWillStart(int request_id, const GURL& url,
- bool* defer) OVERRIDE;
- virtual bool OnBeforeNetworkStart(int request_id,
- const GURL& url,
- bool* defer) OVERRIDE;
+ virtual bool OnWillStart(const GURL& url, bool* defer) OVERRIDE;
+ virtual bool OnBeforeNetworkStart(const GURL& url, bool* defer) OVERRIDE;
// ResourceController implementation:
virtual void Cancel() OVERRIDE;