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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sure blame context is initialized early enough Created 4 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/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index aa24d26c0328c6ad64203e7f699742a017c0243f..77a92599716e998d647981dfc10d0c20bf87ac87 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -35,6 +35,7 @@
#include <windows.h>
#endif
+#include "BlameContext.h"
#include "UserMetricsAction.h"
#include "WebAudioDevice.h"
#include "WebCommon.h"
@@ -358,6 +359,10 @@ public:
// embedder.
virtual WebThread* currentThread() { return nullptr; }
+ // Returns a blame context for attributing top-level work which does not
+ // belong to a particular frame scope.
+ virtual BlameContext* topLevelBlameContext() { return nullptr; }
+
// Resources -----------------------------------------------------------
// Returns a blob of data corresponding to the named resource.
« no previous file with comments | « third_party/WebKit/public/platform/BlameContext.h ('k') | third_party/WebKit/public/platform/WebFrameScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698