summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media/buffered_resource_loader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/media/buffered_resource_loader.cc')
-rw-r--r--webkit/glue/media/buffered_resource_loader.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/media/buffered_resource_loader.cc b/webkit/glue/media/buffered_resource_loader.cc
index 8045d07..61aac72 100644
--- a/webkit/glue/media/buffered_resource_loader.cc
+++ b/webkit/glue/media/buffered_resource_loader.cc
@@ -232,7 +232,8 @@ void BufferedResourceLoader::SetURLLoaderForTest(WebURLLoader* mock_loader) {
keep_test_loader_ = true;
}
-// WebKit::WebURLLoaderClient implementations.
+/////////////////////////////////////////////////////////////////////////////
+// WebKit::WebURLLoaderClient implementation.
void BufferedResourceLoader::willSendRequest(
WebURLLoader* loader,
WebURLRequest& newRequest,
@@ -424,6 +425,8 @@ void BufferedResourceLoader::didFail(
Release();
}
+/////////////////////////////////////////////////////////////////////////////
+// Helper methods.
void BufferedResourceLoader::EnableDeferIfNeeded() {
if (!defer_allowed_)
return;