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

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

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 5434fba7a36338411102497995c75d0b60024c4f..8ea4c5c42706034d3f3d84cb6d3d904abe7207dd 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -176,7 +176,8 @@ public:
// Computes the status of an object after loading.
// Updates the expire date on the cache entry file
- void finish(double finishTime = 0.0);
+ void setLoadFinishTime(double finishTime) { m_loadFinishTime = finishTime; }
Nate Chapin 2014/09/15 23:39:34 Split these out to guarantee we set timing informa
+ void finish();
// FIXME: Remove the stringless variant once all the callsites' error messages are updated.
bool passesAccessControlCheck(SecurityOrigin*);

Powered by Google App Engine
This is Rietveld 408576698