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

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

Issue 1706083002: Split ImageResourceClient into ResourceClient and ImageResourceObserver [1/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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
Index: third_party/WebKit/Source/core/fetch/ResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceClient.h b/third_party/WebKit/Source/core/fetch/ResourceClient.h
index 41fe1bcc42fbb794796c24dc7a54f12fac64ac65..545886dda8559a7c9d9df5216a3288c12dae3a55 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceClient.h
@@ -26,7 +26,6 @@
#define ResourceClient_h
#include "core/CoreExport.h"
-#include "platform/network/ResourceLoadPriority.h"
#include "wtf/Forward.h"
#include "wtf/text/WTFString.h"
@@ -37,7 +36,6 @@ class CORE_EXPORT ResourceClient {
public:
enum ResourceClientType {
BaseResourceType,
- ImageType,
FontType,
StyleSheetType,
DocumentType,
@@ -51,8 +49,6 @@ public:
static bool isExpectedType(ResourceClient*) { return true; }
virtual ResourceClientType getResourceClientType() const { return BaseResourceType; }
- virtual ResourcePriority computeResourcePriority() const { return ResourcePriority(); }
-
// Name for debugging, e.g. shown in memory-infra.
virtual String debugName() const = 0;

Powered by Google App Engine
This is Rietveld 408576698