summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media/buffered_resource_loader.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 15:17:44 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 15:17:44 +0000
commitfa0afad01fb77371f1f3addd5973f078919440dc (patch)
treef7d9d706bb3aed718a500b5bfba5144c5956fc2b /webkit/glue/media/buffered_resource_loader.cc
parent6256b592fa8da8d006f52a17b6fe833214251173 (diff)
downloadchromium_src-fa0afad01fb77371f1f3addd5973f078919440dc.zip
chromium_src-fa0afad01fb77371f1f3addd5973f078919440dc.tar.gz
chromium_src-fa0afad01fb77371f1f3addd5973f078919440dc.tar.bz2
Clean up comments in BufferedDataSource and BufferedResourceLoader.
No code change. BUG=none TEST=none TBR=hclam Review URL: http://codereview.chromium.org/6081002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69829 0039d316-1c4b-4281-b951-d872f2087c98
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;