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

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

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5 Created 4 years, 10 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/RawResource.h
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.h b/third_party/WebKit/Source/core/fetch/RawResource.h
index 16ae106781fa4cd695e1e7f17880d43856fbf82e..94ec09b0586ce1852393b78dc5cc908752f17df2 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/core/fetch/RawResource.h
@@ -91,7 +91,7 @@ private:
#if ENABLE(SECURITY_ASSERT)
inline bool isRawResource(const Resource& resource)
{
- Resource::Type type = resource.type();
+ Resource::Type type = resource.getType();
return type == Resource::MainResource || type == Resource::Raw || type == Resource::TextTrack || type == Resource::Media || type == Resource::Manifest || type == Resource::ImportResource;
}
#endif
@@ -105,7 +105,7 @@ class CORE_EXPORT RawResourceClient : public ResourceClient {
public:
~RawResourceClient() override {}
static ResourceClientType expectedType() { return RawResourceType; }
- ResourceClientType resourceClientType() const final { return expectedType(); }
+ ResourceClientType getResourceClientType() const final { return expectedType(); }
virtual void dataSent(Resource*, unsigned long long /* bytesSent */, unsigned long long /* totalBytesToBeSent */) { }
virtual void responseReceived(Resource*, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) { }

Powered by Google App Engine
This is Rietveld 408576698