diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 15:28:22 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 15:28:22 +0000 |
commit | b67f19cbe25b385272b34666226657a15298ac66 (patch) | |
tree | 0d3eeb6610db1c6f441f11deee9fdc9a2770d7d8 /webkit/glue/resource_fetcher.h | |
parent | ef944e059c2a1bde47f19f8d87a86742f766d94c (diff) | |
download | chromium_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_fetcher.h')
-rw-r--r-- | webkit/glue/resource_fetcher.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/resource_fetcher.h b/webkit/glue/resource_fetcher.h index 75eb3ab..7910fc1 100644 --- a/webkit/glue/resource_fetcher.h +++ b/webkit/glue/resource_fetcher.h @@ -61,6 +61,8 @@ class ResourceFetcher : public WebKit::WebURLLoaderClient { unsigned long long total_bytes_to_be_sent); virtual void didReceiveResponse( WebKit::WebURLLoader* loader, const WebKit::WebURLResponse& response); + virtual void didReceiveCachedMetadata( + WebKit::WebURLLoader* loader, const char* data, int data_length); virtual void didReceiveData( WebKit::WebURLLoader* loader, const char* data, int data_length); virtual void didFinishLoading(WebKit::WebURLLoader* loader); @@ -87,6 +89,9 @@ class ResourceFetcher : public WebKit::WebURLLoaderClient { // Buffer to hold the content from the server. std::string data_; + + // Buffer to hold metadata from the cache. + std::string metadata_; }; ///////////////////////////////////////////////////////////////////////////// |