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

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

Issue 1564913003: [DevTools] Shows Manifest file in Sources tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update network-toggle-type-filter-actual.txt Created 4 years, 11 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 6af8172da25391a4f97d7fc7bd082092fb1c7404..554381fa11fc41ac24de87ab0bccdb4545b333ba 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/core/fetch/RawResource.h
@@ -45,6 +45,7 @@ public:
static ResourcePtr<RawResource> fetchImport(FetchRequest&, ResourceFetcher*);
static ResourcePtr<RawResource> fetchMedia(FetchRequest&, ResourceFetcher*);
static ResourcePtr<RawResource> fetchTextTrack(FetchRequest&, ResourceFetcher*);
+ static ResourcePtr<RawResource> fetchManifest(FetchRequest&, ResourceFetcher*);
// Exposed for testing
RawResource(const ResourceRequest&, Type);
@@ -86,7 +87,7 @@ private:
inline bool isRawResource(const Resource& resource)
{
Resource::Type type = resource.type();
- return type == Resource::MainResource || type == Resource::Raw || type == Resource::TextTrack || type == Resource::Media || type == Resource::ImportResource;
+ return type == Resource::MainResource || type == Resource::Raw || type == Resource::TextTrack || type == Resource::Media || type == Resource::Manifest || type == Resource::ImportResource;
}
#endif
inline RawResource* toRawResource(const ResourcePtr<Resource>& resource)

Powered by Google App Engine
This is Rietveld 408576698