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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 1564913003: [DevTools] Shows Manifest file in Sources tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set Manifest URL in error messages. 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/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index f89af016c778d8431d7795bd9f48c93f9eea0db1..6505cd5d233a561f9174313c696c4fdeb1601eb8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -303,6 +303,8 @@ TypeBuilder::Page::ResourceType::Enum InspectorPageAgent::resourceTypeJson(Inspe
return TypeBuilder::Page::ResourceType::EventSource;
case WebSocketResource:
return TypeBuilder::Page::ResourceType::WebSocket;
+ case ManifestResource:
+ return TypeBuilder::Page::ResourceType::Manifest;
case OtherResource:
return TypeBuilder::Page::ResourceType::Other;
}
@@ -318,6 +320,8 @@ InspectorPageAgent::ResourceType InspectorPageAgent::cachedResourceType(const Re
return InspectorPageAgent::FontResource;
case Resource::Media:
return InspectorPageAgent::MediaResource;
+ case Resource::Manifest:
+ return InspectorPageAgent::ManifestResource;
case Resource::TextTrack:
return InspectorPageAgent::TextTrackResource;
case Resource::CSSStyleSheet:

Powered by Google App Engine
This is Rietveld 408576698