 Chromium Code Reviews
 Chromium Code Reviews Issue 1184403003:
  Offer Resource Timing in workers  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 1184403003:
  Offer Resource Timing in workers  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/core/fetch/Resource.h | 
| diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h | 
| index 85465bd19c3a0b4a2dc6fa6c90cb3e45db24b5ec..3cd16460b521fb7c322e464c2085b8c437fc6cb7 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 reportResourceTiming(const ResourceTimingInfo&) { } | 
| 
kinuko
2015/06/22 07:01:00
Can we add a comment? It's not obvious whom this m
 
Kunihiko Sakamoto
2015/06/22 09:49:56
Added a comment. Also renamed it to more verbose n
 | 
| + | 
| // Sets the serialized metadata retrieved from the platform's cache. | 
| virtual void setSerializedCachedMetadata(const char*, size_t); |