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

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

Issue 2549093008: Loading: Use MockResource in ResourceFetcherTest.cpp (Closed)
Patch Set: [rebase] Created 4 years 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/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index 623946bb4015e1c910d53b6860910681ebebcdfc..44b796f177b03c83f4d636175169ae649d575155 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -1080,6 +1080,8 @@ const char* Resource::resourceTypeToString(
return "Media";
case Resource::Manifest:
return "Manifest";
+ case Resource::Mock:
+ return "Mock";
}
NOTREACHED();
return initatorTypeNameToString(initiatorInfo.name);
@@ -1105,6 +1107,7 @@ bool Resource::isLoadEventBlockingResourceType() const {
case Resource::TextTrack:
case Resource::Media:
case Resource::Manifest:
+ case Resource::Mock:
return false;
}
NOTREACHED();
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.h ('k') | third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698