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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/Resource.h

Issue 2746343002: Phase III Step 1: Make ImageResourceContent manage its own ResourceStatus (Closed)
Patch Set: Rewind Created 3 years, 9 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: third_party/WebKit/Source/platform/loader/fetch/Resource.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/Resource.h b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
index d4f70a8ed8fef985aad15988871081d14558e41a..91bee17484698f9f60cc1e8745b3bd6a311916cf 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/Resource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
@@ -340,6 +340,9 @@ class PLATFORM_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
return nullptr;
}
+ // Do not cause any JavaScript calls or client/observer notifications.
kouhei (in TOK) 2017/03/15 11:18:53 Would you also document what the hook is for? Also
hiroshige 2017/05/04 20:21:57 Done.
+ virtual void notifyStartLoad() {}
+
static const char* resourceTypeToString(
Type,
const AtomicString& fetchInitiatorName);

Powered by Google App Engine
This is Rietveld 408576698