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

Unified Diff: content/renderer/render_thread_impl.h

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index f5326629a5ea23e3d1774672b43115ad96ed7761..a33527b9005f0669be9e6bb38966330eca4c60f3 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -30,6 +30,7 @@
#include "content/common/storage_partition_service.mojom.h"
#include "content/public/renderer/render_thread.h"
#include "content/renderer/gpu/compositor_dependencies.h"
+#include "content/renderer/render_thread_blame_context.h"
#include "net/base/network_change_notifier.h"
#include "third_party/WebKit/public/platform/WebConnectionType.h"
#include "ui/gfx/native_widget_types.h"
@@ -456,6 +457,8 @@ class CONTENT_EXPORT RenderThreadImpl
StoragePartitionService* GetStoragePartitionService();
+ RenderThreadBlameContext* blame_context() { return &blame_context_; }
+
protected:
RenderThreadImpl(
const InProcessChildThreadParams& params,
@@ -710,6 +713,8 @@ class CONTENT_EXPORT RenderThreadImpl
StoragePartitionServicePtr storage_partition_service_;
+ RenderThreadBlameContext blame_context_;
+
DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
};

Powered by Google App Engine
This is Rietveld 408576698