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

Unified Diff: Source/core/fetch/Resource.cpp

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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: Source/core/fetch/Resource.cpp
diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
index 59d7c8172c528baa9bc7313cbae8676c63cedec9..8934350e2f5a26cfd3952d1cc2b9a85f132e89ac 100644
--- a/Source/core/fetch/Resource.cpp
+++ b/Source/core/fetch/Resource.cpp
@@ -954,6 +954,8 @@ const char* Resource::resourceTypeToString(Type type, const FetchInitiatorInfo&
return "Imported resource";
case Resource::Media:
return "Media";
+ case Resource::Manifest:
+ return "Manifest";
}
ASSERT_NOT_REACHED();
return initatorTypeNameToString(initiatorInfo.name);
@@ -989,6 +991,8 @@ const char* ResourceTypeName(Resource::Type type)
return "ImportResource";
case Resource::Media:
return "Media";
+ case Resource::Manifest:
+ return "Manifest";
}
ASSERT_NOT_REACHED();
return "Unknown";

Powered by Google App Engine
This is Rietveld 408576698