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

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: Created 6 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: public/web/WebSharedWorker.h
diff --git a/public/web/WebSharedWorker.h b/public/web/WebSharedWorker.h
index 27365ad89b228a90cf42564ac276dee867caf0f2..b2821f337bedd7e47c1ba2594fdd30f2843463a4 100644
--- a/public/web/WebSharedWorker.h
+++ b/public/web/WebSharedWorker.h
@@ -33,6 +33,7 @@
#include "../platform/WebCommon.h"
#include "WebContentSecurityPolicy.h"
+#include "WebWorkerSettings.h"
namespace WebCore {
class ScriptExecutionContext;
@@ -55,7 +56,8 @@ public:
const WebURL& scriptURL,
const WebString& name,
const WebString& contentSecurityPolicy,
- WebContentSecurityPolicyType) = 0;
+ WebContentSecurityPolicyType,
+ const WebWorkerSettings& = WebWorkerSettings::create()) = 0;
abarth-chromium 2014/03/10 21:32:36 This function is growing many arguments. Maybe we
// Sends a connect event to the SharedWorker context.
virtual void connect(WebMessagePortChannel*) = 0;

Powered by Google App Engine
This is Rietveld 408576698