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

Unified Diff: Source/core/fetch/ResourceClient.h

Issue 1304063016: Refactor the API for setting dynamic resource load priorities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/fetch/Resource.cpp ('k') | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceClient.h
diff --git a/Source/core/fetch/ResourceClient.h b/Source/core/fetch/ResourceClient.h
index ef337982907f6f35fe5ddc996e01d18bba7632de..3bb76f42137123e803230bf7368298aa18516751 100644
--- a/Source/core/fetch/ResourceClient.h
+++ b/Source/core/fetch/ResourceClient.h
@@ -26,6 +26,7 @@
#define ResourceClient_h
#include "core/CoreExport.h"
+#include "platform/network/ResourceLoadPriority.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Forward.h"
@@ -50,6 +51,8 @@ public:
static ResourceClientType expectedType() { return BaseResourceType; }
virtual ResourceClientType resourceClientType() const { return expectedType(); }
+ virtual ResourcePriority updatePriority(Resource*) { return ResourcePriority(); }
+
protected:
ResourceClient() { }
};
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698