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

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: rebase Created 6 years, 5 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 9dbab36313ef9583d14b0a72c32ab1bc17fe41ab..ba1a4243d63279bd95091dc9681f584975791267 100644
--- a/Source/core/fetch/Resource.cpp
+++ b/Source/core/fetch/Resource.cpp
@@ -970,6 +970,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);
@@ -1005,6 +1007,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