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

Unified Diff: Source/web/WebSharedWorkerImpl.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: Source/web/WebSharedWorkerImpl.h
diff --git a/Source/web/WebSharedWorkerImpl.h b/Source/web/WebSharedWorkerImpl.h
index a13e5d7b2c0a40b78381fa64d1fefce0b6a4b929..4d2eab0b6d46a2beacd4fb9ff1a7e40cbf18b180 100644
--- a/Source/web/WebSharedWorkerImpl.h
+++ b/Source/web/WebSharedWorkerImpl.h
@@ -36,6 +36,7 @@
#include "WebContentSecurityPolicy.h"
#include "WebFrameClient.h"
#include "WebSharedWorkerClient.h"
+#include "WebWorkerSettings.h"
#include "core/dom/ExecutionContext.h"
#include "core/workers/WorkerLoaderProxy.h"
#include "core/workers/WorkerReportingProxy.h"
@@ -93,7 +94,7 @@ public:
virtual void didFinishDocumentLoad(WebFrame*) OVERRIDE;
// WebSharedWorker methods:
- virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType) OVERRIDE;
+ virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType, const WebWorkerSettings&) OVERRIDE;
virtual void connect(WebMessagePortChannel*) OVERRIDE;
virtual void terminateWorkerContext() OVERRIDE;
virtual void clientDestroyed() OVERRIDE;
@@ -154,6 +155,8 @@ private:
WebString m_name;
WebString m_contentSecurityPolicy;
WebContentSecurityPolicyType m_policyType;
+
+ WebWorkerSettings m_settings;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698