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

Unified Diff: Source/core/workers/SharedWorkerGlobalScope.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
Index: Source/core/workers/SharedWorkerGlobalScope.h
diff --git a/Source/core/workers/SharedWorkerGlobalScope.h b/Source/core/workers/SharedWorkerGlobalScope.h
index 8dae3bba57e88441d3c0de7ae4dae6e0c7b0a59c..8025d711038ebb07886132be4614a24c89449002 100644
--- a/Source/core/workers/SharedWorkerGlobalScope.h
+++ b/Source/core/workers/SharedWorkerGlobalScope.h
@@ -43,7 +43,7 @@ namespace WebCore {
class SharedWorkerGlobalScope FINAL : public WorkerGlobalScope {
public:
typedef WorkerGlobalScope Base;
- static PassRefPtr<SharedWorkerGlobalScope> create(const String& name, SharedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>);
+ static PassRefPtr<SharedWorkerGlobalScope> create(const String& name, SharedWorkerThread*, PassOwnPtr<WorkerThreadStartupData>, const WorkerSettings&);
virtual ~SharedWorkerGlobalScope();
virtual bool isSharedWorkerGlobalScope() const OVERRIDE { return true; }
@@ -58,7 +58,7 @@ namespace WebCore {
SharedWorkerThread* thread();
private:
- SharedWorkerGlobalScope(const String& name, const KURL&, const String& userAgent, SharedWorkerThread*, PassOwnPtr<WorkerClients>);
+ SharedWorkerGlobalScope(const String& name, const KURL&, const String& userAgent, SharedWorkerThread*, const WorkerSettings&, PassOwnPtr<WorkerClients>);
virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) OVERRIDE;
String m_name;

Powered by Google App Engine
This is Rietveld 408576698