Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: Source/WebCore/loader/cache/CachedResource.h

Issue 14210003: Simplify CachedResource::data (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/loader/cache/CachedRawResource.cpp ('k') | Source/WebCore/loader/cache/CachedResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedResource.h
===================================================================
--- Source/WebCore/loader/cache/CachedResource.h (revision 148397)
+++ Source/WebCore/loader/cache/CachedResource.h (working copy)
@@ -94,7 +94,7 @@
virtual void setEncoding(const String&) { }
virtual String encoding() const { return String(); }
- virtual void data(PassRefPtr<ResourceBuffer> data, bool allDataReceived);
+ virtual void data(PassRefPtr<ResourceBuffer> data);
virtual void error(CachedResource::Status);
void setResourceError(const ResourceError& error) { m_error = error; }
@@ -159,6 +159,7 @@
// Computes the status of an object after loading.
// Updates the expire date on the cache entry file
+ virtual void finishOnePart();
void finish();
bool passesAccessControlCheck(SecurityOrigin*);
« no previous file with comments | « Source/WebCore/loader/cache/CachedRawResource.cpp ('k') | Source/WebCore/loader/cache/CachedResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698