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

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

Issue 114123005: Show media and VTT text tracks in the devtools. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 6 years, 8 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
« no previous file with comments | « Source/core/fetch/RawResource.h ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index ad7a4914ec2c1d46e7d1250d10d4b7dc0770457e..d98da4b264e74ff14b611bebacc6edde631d89db 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -71,7 +71,8 @@ public:
LinkSubresource,
TextTrack,
Shader,
- ImportResource
+ ImportResource,
+ Media // Audio or video file requested by a HTML5 media element
};
enum Status {
@@ -152,7 +153,9 @@ public:
return type() == MainResource
|| type() == LinkPrefetch
|| type() == LinkSubresource
- || type() == Raw;
+ || type() == Media
+ || type() == Raw
+ || type() == TextTrack;
}
// Computes the status of an object after loading.
« no previous file with comments | « Source/core/fetch/RawResource.h ('k') | Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698