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

Unified Diff: Source/core/loader/appcache/ApplicationCacheHost.h

Issue 14785010: Remove a bunch of ApplicationCacheHost functions and parameters we don't use. (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/core/loader/ResourceLoader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/appcache/ApplicationCacheHost.h
diff --git a/Source/core/loader/appcache/ApplicationCacheHost.h b/Source/core/loader/appcache/ApplicationCacheHost.h
index a132617923f9da7352f6d617ec582c0dba381811..3934b2221700984a2d7a16d775627fe70159a4bd 100644
--- a/Source/core/loader/appcache/ApplicationCacheHost.h
+++ b/Source/core/loader/appcache/ApplicationCacheHost.h
@@ -111,21 +111,14 @@ namespace WebCore {
void selectCacheWithoutManifest();
void selectCacheWithManifest(const KURL& manifestURL);
- void maybeLoadMainResource(ResourceRequest&, SubstituteData&);
- void maybeLoadMainResourceForRedirect(ResourceRequest&, SubstituteData&);
- void maybeLoadFallbackForMainResponse(const ResourceRequest&, const ResourceResponse&);
- bool maybeLoadFallbackForMainError(const ResourceRequest&, const ResourceError&);
- void mainResourceDataReceived(const char* data, int length, long long encodedDataLength, bool allAtOnce);
+ void willStartLoadingMainResource(ResourceRequest&);
+ void didReceiveResponseForMainResource(const ResourceResponse&);
+ void mainResourceDataReceived(const char* data, int length);
void finishedLoadingMainResource();
void failedLoadingMainResource();
- bool maybeLoadResource(ResourceLoader*, ResourceRequest&, const KURL& originalURL);
- bool maybeLoadFallbackForRedirect(ResourceLoader*, ResourceRequest&, const ResourceResponse&);
- bool maybeLoadFallbackForResponse(ResourceLoader*, const ResourceResponse&);
- bool maybeLoadFallbackForError(ResourceLoader*, const ResourceError&);
-
- bool maybeLoadSynchronously(ResourceRequest&, ResourceError&, ResourceResponse&, Vector<char>& data);
- void maybeLoadFallbackSynchronously(const ResourceRequest&, ResourceError&, ResourceResponse&, Vector<char>& data);
+ void willStartLoadingResource(ResourceRequest&);
+ void willStartLoadingSynchronously(ResourceRequest&);
Status status() const;
bool update();
@@ -135,8 +128,6 @@ namespace WebCore {
void setDOMApplicationCache(DOMApplicationCache*);
void notifyDOMApplicationCache(EventID, int progressTotal, int progressDone);
- void stopLoadingInFrame(Frame*);
-
void stopDeferringEvents(); // Also raises the events that have been queued up.
void fillResourceList(ResourceInfoList*);
« no previous file with comments | « Source/core/loader/ResourceLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698