Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef GeofencingRegion_h | |
| 6 #define GeofencingRegion_h | |
| 7 | |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "platform/heap/Handle.h" | |
| 10 #include "wtf/text/WTFString.h" | |
| 11 | |
| 12 namespace WebCore { | |
| 13 | |
| 14 class GeofencingRegion : public GarbageCollectedFinalized<GeofencingRegion>, pub lic ScriptWrappable { | |
|
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
wtf_make_noncopyable?
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
| |
| 15 public: | |
| 16 void trace(Visitor*) { } | |
| 17 | |
| 18 String id() const { return m_id; } | |
| 19 | |
| 20 protected: | |
| 21 GeofencingRegion() { } | |
|
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
also needs to call ScriptWrappable::init
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
| |
| 22 GeofencingRegion(const String& id) : m_id(id) | |
| 23 { | |
| 24 ScriptWrappable::init(this); | |
| 25 } | |
| 26 | |
| 27 String m_id; | |
|
jochen (gone - plz use gerrit)
2014/07/10 11:38:51
private?
Marijn Kruisselbrink
2014/07/10 12:36:00
Done.
| |
| 28 }; | |
| 29 | |
| 30 } // namespace WebCore | |
| 31 | |
| 32 #endif | |
| OLD | NEW |