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

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: Cleanup. Created 4 years, 10 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 72a3e189e3049825a6a3621c558bfaab13f5455d..a0eec576d9d70602e73f59a9f2c33ce7e7ae637e 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -63,6 +63,7 @@ class GrContext;
namespace blink {
class WebAudioBus;
+class WebBlameContext;
class WebBlobRegistry;
class WebCanvasCaptureHandler;
class WebClipboard;
@@ -351,6 +352,9 @@ public:
// embedder.
virtual WebThread* currentThread() { return nullptr; }
+ // Returns a blame context for attributing work to the thread-global scope.
+ virtual WebBlameContext* threadBlameContext() { return nullptr; }
+
// Resources -----------------------------------------------------------
// Returns a blob of data corresponding to the named resource.

Powered by Google App Engine
This is Rietveld 408576698