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

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

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.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index da5a7760237a9984c7b9da2d43ee7352288b6ce5..22156e870a5b175f8344bbc590c731bc1962495c 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -81,9 +81,10 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
TextTrack,
ImportResource,
Media, // Audio or video file requested by a HTML5 media element
- Manifest
+ Manifest,
+ Mock // Only for testing
};
- static const int kLastResourceType = Manifest + 1;
+ static const int kLastResourceType = Mock + 1;
using Status = ResourceStatus;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MockResource.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698