summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_loader_bridge.h
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 15:28:22 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 15:28:22 +0000
commitb67f19cbe25b385272b34666226657a15298ac66 (patch)
tree0d3eeb6610db1c6f441f11deee9fdc9a2770d7d8 /webkit/glue/resource_loader_bridge.h
parentef944e059c2a1bde47f19f8d87a86742f766d94c (diff)
downloadchromium_src-b67f19cbe25b385272b34666226657a15298ac66.zip
chromium_src-b67f19cbe25b385272b34666226657a15298ac66.tar.gz
chromium_src-b67f19cbe25b385272b34666226657a15298ac66.tar.bz2
Glue for sending/receiving cacheable metadata.
TEST=None BUG=32407 Review URL: http://codereview.chromium.org/1742004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_loader_bridge.h')
-rw-r--r--webkit/glue/resource_loader_bridge.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index 26253f8..a1773e9 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -181,6 +181,10 @@ class ResourceLoaderBridge {
// be called multiple times or not at all if an error occurs.
virtual void OnReceivedData(const char* data, int len) = 0;
+ // Called when metadata generated by the renderer is retrieved from the
+ // cache. This method may be called zero or one times.
+ virtual void OnReceivedCachedMetadata(const char* data, int len) { }
+
// Called when the response is complete. This method signals completion of
// the resource load.ff
virtual void OnCompletedRequest(const URLRequestStatus& status,