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

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: method naming 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..22c7ef7480626fd7f0fd22b84723a0615461e646 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,9 @@ public:
void setResponse(const ResourceResponse& response) { m_response = response; }
const ResourceResponse& response() const { return m_response; }
+ // Reports resource timing to the worker thread that initiated the request.
kinuko 2015/06/23 07:48:41 nit: please update the comment too.
Kunihiko Sakamoto 2015/06/23 08:05:08 Removed it because now its name explains itself.
+ 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