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

Unified Diff: Source/modules/donottrack/NavigatorDoNotTrack.h

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' 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
« no previous file with comments | « Source/modules/battery/NavigatorBattery.cpp ('k') | Source/modules/donottrack/NavigatorDoNotTrack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/donottrack/NavigatorDoNotTrack.h
diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.h b/Source/modules/donottrack/NavigatorDoNotTrack.h
index 663811141bbd845e5ab3b24f6b069c6150ae05de..46f75c2ea5ee0337f1b9e7a92b8f29ddb0d80686 100644
--- a/Source/modules/donottrack/NavigatorDoNotTrack.h
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.h
@@ -32,6 +32,7 @@
#define NavigatorDoNotTrack_h
#include "core/frame/DOMWindowProperty.h"
+#include "heap/Handle.h"
#include "platform/Supplementable.h"
#include "wtf/text/WTFString.h"
@@ -40,7 +41,8 @@ namespace WebCore {
class LocalFrame;
class Navigator;
-class NavigatorDoNotTrack FINAL : public Supplement<Navigator>, public DOMWindowProperty {
+class NavigatorDoNotTrack FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorDoNotTrack>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorDoNotTrack);
public:
virtual ~NavigatorDoNotTrack();
static NavigatorDoNotTrack& from(Navigator&);
@@ -49,6 +51,8 @@ public:
String doNotTrack();
+ void trace(Visitor*) { }
+
private:
explicit NavigatorDoNotTrack(LocalFrame*);
static const char* supplementName();
« no previous file with comments | « Source/modules/battery/NavigatorBattery.cpp ('k') | Source/modules/donottrack/NavigatorDoNotTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698