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

Unified Diff: content/renderer/shared_worker/websharedworker_proxy.h

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: ready to review Created 3 years, 11 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/shared_worker/websharedworker_proxy.h
diff --git a/content/renderer/shared_worker/websharedworker_proxy.h b/content/renderer/shared_worker/websharedworker_proxy.h
index 78cd84cfb5506e717eb9640f70eb1a49b0cd61c0..b0d074683c4fbb78dc8d82e933bb55cf1d1a331a 100644
--- a/content/renderer/shared_worker/websharedworker_proxy.h
+++ b/content/renderer/shared_worker/websharedworker_proxy.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_H_
#define CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_H_
+#include <vector>
+
#include "base/macros.h"
#include "ipc/ipc_listener.h"
#include "third_party/WebKit/public/web/WebSharedWorkerConnectListener.h"
@@ -45,7 +47,9 @@ class WebSharedWorkerProxy : private IPC::Listener {
void OnWorkerCreated();
void OnWorkerScriptLoadFailed();
- void OnWorkerConnected();
+ void OnWorkerConnected(std::vector<char> features);
+ void OnWorkerDestroyed();
+ void OnCountFeature(uint32_t feature);
// Routing id associated with this worker - used to receive messages from the
// worker, and also to route messages to the worker (WorkerService contains

Powered by Google App Engine
This is Rietveld 408576698