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

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

Issue 1184403003: Offer Resource Timing in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fix Created 5 years, 6 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.cpp ('k') | Source/core/fetch/ResourceFetcher.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 85465bd19c3a0b4a2dc6fa6c90cb3e45db24b5ec..ba8f7f3c7026e42fff0f2fd3583ddd599e3ced10 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -47,6 +47,7 @@ class CachedMetadata;
class ResourceClient;
class ResourcePtrBase;
class ResourceFetcher;
+class ResourceTimingInfo;
class InspectorResource;
class ResourceLoader;
class SecurityOrigin;
@@ -196,6 +197,8 @@ public:
void setResponse(const ResourceResponse& response) { m_response = response; }
const ResourceResponse& response() const { return m_response; }
+ virtual void reportResourceTimingToClients(const ResourceTimingInfo&) { }
+
// Sets the serialized metadata retrieved from the platform's cache.
virtual void setSerializedCachedMetadata(const char*, size_t);
« no previous file with comments | « Source/core/fetch/RawResource.cpp ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698