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

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

Issue 2615153002: Remove ContextClient from NavigatorDoNotTrack (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
diff --git a/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h b/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
index 87bdc893e2f29359e7a4048642cee1c91179b38f..d44bafcb3e64ebe3db8152cbddf6fca16f599433 100644
--- a/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
+++ b/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
@@ -31,7 +31,6 @@
#ifndef NavigatorDoNotTrack_h
#define NavigatorDoNotTrack_h
-#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/Navigator.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
@@ -39,12 +38,10 @@
namespace blink {
-class LocalFrame;
class Navigator;
class NavigatorDoNotTrack final : public GarbageCollected<NavigatorDoNotTrack>,
- public Supplement<Navigator>,
- public ContextClient {
+ public Supplement<Navigator> {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorDoNotTrack);
public:
@@ -56,7 +53,7 @@ class NavigatorDoNotTrack final : public GarbageCollected<NavigatorDoNotTrack>,
DECLARE_VIRTUAL_TRACE();
private:
- explicit NavigatorDoNotTrack(LocalFrame*);
+ explicit NavigatorDoNotTrack(Navigator&);
static const char* supplementName();
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698