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

Unified Diff: Source/modules/geolocation/GeolocationInspectorAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/modules/geolocation/GeolocationInspectorAgent.h
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.h b/Source/modules/geolocation/GeolocationInspectorAgent.h
index 082b7a89fac87a696816b91c3259d90c05209af4..2c827dc20a3f83f77cc4e8bac1ba15b3e2fce28d 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.h
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.h
@@ -46,8 +46,9 @@ typedef String ErrorString;
class GeolocationInspectorAgent FINAL : public InspectorBaseAgent<GeolocationInspectorAgent>, public InspectorBackendDispatcher::GeolocationCommandHandler {
WTF_MAKE_NONCOPYABLE(GeolocationInspectorAgent);
public:
- static PassOwnPtr<GeolocationInspectorAgent> create();
+ static PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> create();
virtual ~GeolocationInspectorAgent();
+ virtual void trace(Visitor*) OVERRIDE;
// Protocol methods.
virtual void setGeolocationOverride(ErrorString*, const double*, const double*, const double*) OVERRIDE;
@@ -56,16 +57,16 @@ public:
// Instrumentation method.
GeolocationPosition* overrideGeolocationPosition(GeolocationPosition*);
- void AddController(GeolocationController*);
- void RemoveController(GeolocationController*);
+ void addController(GeolocationController*);
+ void removeController(GeolocationController*);
private:
GeolocationInspectorAgent();
- typedef WillBeHeapHashSet<RawPtrWillBeMember<GeolocationController> > GeolocationControllers;
- WillBePersistentHeapHashSet<RawPtrWillBeMember<GeolocationController> > m_controllers;
+ typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<GeolocationController> > GeolocationControllers;
+ GeolocationControllers m_controllers;
bool m_geolocationOverridden;
- Persistent<GeolocationPosition> m_geolocationPosition;
- Persistent<GeolocationPosition> m_platformGeolocationPosition;
+ PersistentWillBeMember<GeolocationPosition> m_geolocationPosition;
+ PersistentWillBeMember<GeolocationPosition> m_platformGeolocationPosition;
};
« no previous file with comments | « Source/modules/geolocation/GeolocationController.cpp ('k') | Source/modules/geolocation/GeolocationInspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698