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

Unified Diff: public/web/WebSharedWorker.h

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Introduce WorkerSettings Created 6 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: public/web/WebSharedWorker.h
diff --git a/public/web/WebSharedWorker.h b/public/web/WebSharedWorker.h
index 27365ad89b228a90cf42564ac276dee867caf0f2..34afaea7e81aee8953c571403d0b850cc085c2fc 100644
--- a/public/web/WebSharedWorker.h
+++ b/public/web/WebSharedWorker.h
@@ -44,6 +44,7 @@ class WebString;
class WebMessagePortChannel;
class WebSharedWorkerClient;
class WebURL;
+class WebWorkerSettings;
// This is the interface to a SharedWorker thread.
class WebSharedWorker {
@@ -72,6 +73,8 @@ public:
virtual void reattachDevTools(const WebString& savedState) = 0;
virtual void detachDevTools() = 0;
virtual void dispatchDevToolsMessage(const WebString&) = 0;
+
+ virtual WebWorkerSettings* settings() = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698