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

Unified Diff: Source/core/workers/WorkerGlobalScope.h

Issue 901143002: Support deprecation warnings in shared/service workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/WorkerGlobalScope.h
diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
index f39fa96d41e7d6c665fe5ecbdd5afb9f283560f6..21efaf2693a4258f01cff7ad4ed91f621bf4d245 100644
--- a/Source/core/workers/WorkerGlobalScope.h
+++ b/Source/core/workers/WorkerGlobalScope.h
@@ -39,6 +39,7 @@
#include "platform/heap/Handle.h"
#include "platform/network/ContentSecurityPolicyParsers.h"
#include "wtf/Assertions.h"
+#include "wtf/BitVector.h"
#include "wtf/HashMap.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassRefPtr.h"
@@ -159,6 +160,8 @@ private:
mutable RefPtrWillBeMember<WorkerLocation> m_location;
mutable RefPtrWillBeMember<WorkerNavigator> m_navigator;
+ mutable OwnPtr<BitVector> m_deprecationWarningBits;
sof 2015/02/05 08:48:18 Did you consider factoring UseCounter a bit so as
Kunihiko Sakamoto 2015/02/05 10:35:37 Factored it to UseCounter::CountBits class.
+
OwnPtr<WorkerScriptController> m_script;
WorkerThread* m_thread;

Powered by Google App Engine
This is Rietveld 408576698