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

Unified Diff: public/web/WebSharedWorkerClient.h

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: 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
« Source/core/workers/WorkerThread.h ('K') | « Source/web/WebSharedWorkerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSharedWorkerClient.h
diff --git a/public/web/WebSharedWorkerClient.h b/public/web/WebSharedWorkerClient.h
index 89362f35c9d56f6f3e7cc0e184cf3dbe5e43cb53..f31c5da4e9f63320ebfd6ea69a6a09631ef734d8 100644
--- a/public/web/WebSharedWorkerClient.h
+++ b/public/web/WebSharedWorkerClient.h
@@ -53,6 +53,7 @@ public:
virtual void workerScriptLoaded() = 0;
virtual void workerScriptLoadFailed() = 0;
virtual void selectAppCacheID(long long) = 0;
+ virtual bool enableMemoryInfo() { return false; }
kinuko 2014/02/28 05:23:29 I'd like to avoid adding specific settings/prefere
Pan 2014/02/28 07:38:40 I guess you mean we need a general method somethin
Pan 2014/03/03 09:16:52 Pachset 3 exposes WebWorkerSettings through WebAPI
// Returns the notification presenter for this worker context. Pointer
// is owned by the object implementing WebSharedWorkerClient.
« Source/core/workers/WorkerThread.h ('K') | « Source/web/WebSharedWorkerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698